From 38db630b74974fe8d76e03717c2777c83b764cec Mon Sep 17 00:00:00 2001 From: RickyRister Date: Sun, 23 Feb 2025 21:21:15 -0800 Subject: [PATCH] Fix banner card changing when opening deck in new tab --- cockatrice/src/client/tabs/tab_deck_editor.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cockatrice/src/client/tabs/tab_deck_editor.cpp b/cockatrice/src/client/tabs/tab_deck_editor.cpp index 5c700dfd5..ccf42be9d 100644 --- a/cockatrice/src/client/tabs/tab_deck_editor.cpp +++ b/cockatrice/src/client/tabs/tab_deck_editor.cpp @@ -1084,10 +1084,6 @@ void TabDeckEditor::openDeckFromFile(const QString &fileName, DeckOpenLocation d auto *l = new DeckLoader; if (l->loadFromFile(fileName, fmt, true)) { SettingsCache::instance().recents().updateRecentlyOpenedDeckPaths(fileName); - updateBannerCardComboBox(); - if (!l->getBannerCard().first.isEmpty()) { - bannerCardComboBox->setCurrentIndex(bannerCardComboBox->findText(l->getBannerCard().first)); - } if (deckOpenLocation == NEW_TAB) { emit openDeckEditor(l); } else {