Took 17 minutes
This commit is contained in:
Lukas Brübach 2025-09-28 06:35:06 +02:00
parent eb5ccd1a42
commit 0a12bba1cf
2 changed files with 3 additions and 3 deletions

View file

@ -186,7 +186,7 @@ void AbstractTabDeckEditor::setModified(bool _modified)
bool AbstractTabDeckEditor::isBlankNewDeck() const
{
DeckLoader *deck = getDeckList();
return !modified && deck->isUnmodified() && deck->hasNotBeenLoaded();
return !modified && deck->isBlankDeck() && deck->hasNotBeenLoaded();
}
void AbstractTabDeckEditor::actNewDeck()

View file

@ -243,9 +243,9 @@ public:
}
///@}
bool isUnmodified() const
bool isBlankDeck() const
{
return name.isEmpty() && comments.isEmpty() && getCardList().size() == 0;
return name.isEmpty() && comments.isEmpty() && getCardList().isEmpty();
}
/// @name Sideboard plans