mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-21 01:42: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;
|
return;
|
||||||
QString filePath = localDirModel->filePath(curLeft);
|
QString filePath = localDirModel->filePath(curLeft);
|
||||||
|
|
||||||
|
SettingsCache::instance().recents().updateRecentlyOpenedDeckPaths(filePath);
|
||||||
|
|
||||||
DeckLoader deckLoader;
|
DeckLoader deckLoader;
|
||||||
if (!deckLoader.loadFromFile(filePath, DeckLoader::CockatriceFormat))
|
if (!deckLoader.loadFromFile(filePath, DeckLoader::CockatriceFormat))
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue