From 70ca30e4e5b05409e39c4d92fdf2d2c32942b09a Mon Sep 17 00:00:00 2001 From: RickyRister Date: Tue, 24 Dec 2024 14:03:21 -0800 Subject: [PATCH] also get it to work with loading from deck storage tab --- cockatrice/src/client/tabs/tab_deck_storage.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cockatrice/src/client/tabs/tab_deck_storage.cpp b/cockatrice/src/client/tabs/tab_deck_storage.cpp index eca1b7b1f..9e9cbc23c 100644 --- a/cockatrice/src/client/tabs/tab_deck_storage.cpp +++ b/cockatrice/src/client/tabs/tab_deck_storage.cpp @@ -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;