Make deck list appear if deck loaded (#2745)
This commit is contained in:
parent
2094910b7a
commit
9ddb18a35e
1 changed files with 4 additions and 0 deletions
|
@ -939,6 +939,10 @@ void TabDeckEditor::setDeck(DeckLoader *_deck)
|
|||
PictureLoader::cacheCardPixmaps(db->getCards(deckModel->getDeckList()->getCardList()));
|
||||
deckView->expandAll();
|
||||
setModified(false);
|
||||
|
||||
// If they load a deck, make the deck list appear
|
||||
aDeckDockVisible->setChecked(true);
|
||||
deckDock->setVisible(aDeckDockVisible->isChecked());
|
||||
}
|
||||
|
||||
void TabDeckEditor::setModified(bool _modified)
|
||||
|
|
Loading…
Reference in a new issue