also get it to work with loading from deck storage tab

This commit is contained in:
RickyRister 2024-12-24 14:03:21 -08:00
parent 5224780df3
commit 70ca30e4e5

View file

@ -162,6 +162,8 @@ void TabDeckStorage::actOpenLocalDeck()
return;
QString filePath = localDirModel->filePath(curLeft);
SettingsCache::instance().recents().updateRecentlyOpenedDeckPaths(filePath);
DeckLoader deckLoader;
if (!deckLoader.loadFromFile(filePath, DeckLoader::CockatriceFormat))
return;