mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-18 08:22:15 -07:00
Loading a deck from local file dialog should swap out scenes, enable unload button.
This commit is contained in:
parent
0bf61191a8
commit
dbe80642a3
1 changed files with 4 additions and 0 deletions
|
|
@ -349,6 +349,10 @@ void DeckViewContainer::loadLocalDeck()
|
|||
return;
|
||||
|
||||
loadDeckFromFile(dialog.selectedFiles().at(0));
|
||||
|
||||
deckView->setVisible(true);
|
||||
visualDeckStorageWidget->setVisible(false);
|
||||
unloadDeckButton->setEnabled(true);
|
||||
}
|
||||
|
||||
void DeckViewContainer::loadDeckFromFile(const QString &filePath)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue