mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-05 20:39:59 -08:00
Rebuild tree any time setDeckList is called. (#6353)
Took 2 hours 5 minutes Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
@@ -539,8 +539,8 @@ void DeckListModel::setDeckList(DeckList *_deck)
|
||||
{
|
||||
if (deckList != _deck) {
|
||||
deckList = _deck;
|
||||
rebuildTree();
|
||||
}
|
||||
rebuildTree();
|
||||
}
|
||||
|
||||
QList<ExactCard> DeckListModel::getCards() const
|
||||
|
||||
Reference in New Issue
Block a user