diff --git a/cockatrice/src/client/tabs/tab_deck_editor.cpp b/cockatrice/src/client/tabs/tab_deck_editor.cpp index 39f9417fb..5c700dfd5 100644 --- a/cockatrice/src/client/tabs/tab_deck_editor.cpp +++ b/cockatrice/src/client/tabs/tab_deck_editor.cpp @@ -113,8 +113,6 @@ void TabDeckEditor::createDeckDock() }); connect(bannerCardComboBox, QOverload::of(&QComboBox::currentIndexChanged), this, &TabDeckEditor::setBannerCard); - connect(bannerCardComboBox, QOverload::of(&QComboBox::currentIndexChanged), this, - [this] { setModified(true); }); deckTagsDisplayWidget = new DeckPreviewDeckTagsDisplayWidget(this, deckModel->getDeckList()); @@ -914,6 +912,7 @@ void TabDeckEditor::setBannerCard(int /* changedIndex */) QVariantMap itemData = bannerCardComboBox->itemData(bannerCardComboBox->currentIndex()).toMap(); deckModel->getDeckList()->setBannerCard( QPair(itemData["name"].toString(), itemData["uuid"].toString())); + setModified(true); } void TabDeckEditor::updateCardInfo(CardInfoPtr _card)