mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 14:32:15 -07:00
Rename.
Took 17 minutes
This commit is contained in:
parent
eb5ccd1a42
commit
0a12bba1cf
2 changed files with 3 additions and 3 deletions
|
|
@ -186,7 +186,7 @@ void AbstractTabDeckEditor::setModified(bool _modified)
|
||||||
bool AbstractTabDeckEditor::isBlankNewDeck() const
|
bool AbstractTabDeckEditor::isBlankNewDeck() const
|
||||||
{
|
{
|
||||||
DeckLoader *deck = getDeckList();
|
DeckLoader *deck = getDeckList();
|
||||||
return !modified && deck->isUnmodified() && deck->hasNotBeenLoaded();
|
return !modified && deck->isBlankDeck() && deck->hasNotBeenLoaded();
|
||||||
}
|
}
|
||||||
|
|
||||||
void AbstractTabDeckEditor::actNewDeck()
|
void AbstractTabDeckEditor::actNewDeck()
|
||||||
|
|
|
||||||
|
|
@ -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
|
/// @name Sideboard plans
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue