From 9ddb18a35eeb4d74ecb429f57f9875efa3d53834 Mon Sep 17 00:00:00 2001 From: Zach H Date: Mon, 12 Jun 2017 06:25:52 -0400 Subject: [PATCH] Make deck list appear if deck loaded (#2745) --- cockatrice/src/tab_deck_editor.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cockatrice/src/tab_deck_editor.cpp b/cockatrice/src/tab_deck_editor.cpp index 85692aed..b0cf9cbb 100644 --- a/cockatrice/src/tab_deck_editor.cpp +++ b/cockatrice/src/tab_deck_editor.cpp @@ -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)