Make deck list appear if deck loaded (#2745)

This commit is contained in:
Zach H 2017-06-12 06:25:52 -04:00 committed by ctrlaltca
parent 2094910b7a
commit 9ddb18a35e

View file

@ -939,6 +939,10 @@ void TabDeckEditor::setDeck(DeckLoader *_deck)
PictureLoader::cacheCardPixmaps(db->getCards(deckModel->getDeckList()->getCardList())); PictureLoader::cacheCardPixmaps(db->getCards(deckModel->getDeckList()->getCardList()));
deckView->expandAll(); deckView->expandAll();
setModified(false); setModified(false);
// If they load a deck, make the deck list appear
aDeckDockVisible->setChecked(true);
deckDock->setVisible(aDeckDockVisible->isChecked());
} }
void TabDeckEditor::setModified(bool _modified) void TabDeckEditor::setModified(bool _modified)