[DeckEditor] Properly check if deck is blank. (#6188)

* [DeckEditor] Properly check if deck is blank.

Took 20 minutes

* Rename.

Took 17 minutes

---------

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
BruebachL 2025-09-28 11:56:45 +02:00 committed by GitHub
parent ed50fd98cd
commit f2ce5e9693
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View file

@ -243,6 +243,11 @@ public:
}
///@}
bool isBlankDeck() const
{
return name.isEmpty() && comments.isEmpty() && getCardList().isEmpty();
}
/// @name Sideboard plans
///@{
QList<MoveCard_ToZone> getCurrentSideboardPlan();