mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-19 08:52:15 -07:00
also get it to work with loading from deck storage tab
This commit is contained in:
parent
5224780df3
commit
70ca30e4e5
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue