mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
single player fix
This commit is contained in:
parent
135fed79ca
commit
a5f678bc3d
7 changed files with 14 additions and 8 deletions
|
|
@ -470,6 +470,11 @@ void DeckList::cleanList()
|
|||
setComments();
|
||||
}
|
||||
|
||||
bool DeckList::isEmpty() const
|
||||
{
|
||||
return root->isEmpty();
|
||||
}
|
||||
|
||||
DecklistCardNode *DeckList::addCard(const QString &cardName, const QString &zoneName)
|
||||
{
|
||||
InnerDecklistNode *zoneNode = dynamic_cast<InnerDecklistNode *>(root->findChild(zoneName));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue