mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 00:54:53 -07: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:
parent
553952132f
commit
1c5bfdbabe
1 changed files with 1 additions and 1 deletions
|
|
@ -539,8 +539,8 @@ void DeckListModel::setDeckList(DeckList *_deck)
|
||||||
{
|
{
|
||||||
if (deckList != _deck) {
|
if (deckList != _deck) {
|
||||||
deckList = _deck;
|
deckList = _deck;
|
||||||
rebuildTree();
|
|
||||||
}
|
}
|
||||||
|
rebuildTree();
|
||||||
}
|
}
|
||||||
|
|
||||||
QList<ExactCard> DeckListModel::getCards() const
|
QList<ExactCard> DeckListModel::getCards() const
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue