From 0d6497fcdcf93634a37b41df5a8fea213d7e106e Mon Sep 17 00:00:00 2001 From: RickyRister <42636155+RickyRister@users.noreply.github.com> Date: Tue, 25 Feb 2025 15:30:53 -0800 Subject: [PATCH] Fix banner card changing when opening deck in new tab (#5649) --- 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 {