mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-18 08:22:15 -07:00
Mark deck as modified when banner card is changed
This commit is contained in:
parent
77a3515470
commit
264a171bac
1 changed files with 3 additions and 0 deletions
|
|
@ -102,6 +102,7 @@ void TabDeckEditor::createDeckDock()
|
|||
commentsEdit->setObjectName("commentsEdit");
|
||||
commentsLabel->setBuddy(commentsEdit);
|
||||
connect(commentsEdit, SIGNAL(textChanged()), this, SLOT(updateComments()));
|
||||
|
||||
bannerCardLabel = new QLabel();
|
||||
bannerCardLabel->setObjectName("bannerCardLabel");
|
||||
bannerCardLabel->setText(tr("Banner Card"));
|
||||
|
|
@ -112,6 +113,8 @@ void TabDeckEditor::createDeckDock()
|
|||
});
|
||||
connect(bannerCardComboBox, QOverload<int>::of(&QComboBox::currentIndexChanged), this,
|
||||
&TabDeckEditor::setBannerCard);
|
||||
connect(bannerCardComboBox, QOverload<int>::of(&QComboBox::currentIndexChanged), this,
|
||||
[this] { setModified(true); });
|
||||
|
||||
deckTagsDisplayWidget = new DeckPreviewDeckTagsDisplayWidget(this, deckModel->getDeckList());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue