Loading a deck from local file dialog should swap out scenes, enable unload button.

This commit is contained in:
Lukas Brübach 2025-01-06 23:57:43 +01:00
parent 0bf61191a8
commit dbe80642a3

View file

@ -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)