mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-31 15:07:29 -08:00
Tags in deck editor (#5608)
This commit is contained in:
@@ -369,7 +369,7 @@ DeckList::DeckList()
|
||||
// TODO: https://qt-project.org/doc/qt-4.8/qobject.html#no-copy-constructor-or-assignment-operator
|
||||
DeckList::DeckList(const DeckList &other)
|
||||
: QObject(), name(other.name), comments(other.comments), bannerCard(other.bannerCard), deckHash(other.deckHash),
|
||||
lastLoadedTimestamp(other.lastLoadedTimestamp)
|
||||
lastLoadedTimestamp(other.lastLoadedTimestamp), tags(other.tags)
|
||||
{
|
||||
root = new InnerDecklistNode(other.getRoot());
|
||||
|
||||
@@ -807,6 +807,7 @@ void DeckList::cleanList()
|
||||
root->clearTree();
|
||||
setName();
|
||||
setComments();
|
||||
setTags();
|
||||
deckHash = QString();
|
||||
emit deckHashChanged();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user