mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-09 17:44:01 -07:00
wipe metadata if preserveMetadata is false
This commit is contained in:
parent
84363262e4
commit
5f828ef602
1 changed files with 1 additions and 3 deletions
|
|
@ -515,9 +515,7 @@ void DeckList::cleanList(bool preserveMetadata)
|
||||||
{
|
{
|
||||||
root->clearTree();
|
root->clearTree();
|
||||||
if (!preserveMetadata) {
|
if (!preserveMetadata) {
|
||||||
setName();
|
metadata = {};
|
||||||
setComments();
|
|
||||||
setTags();
|
|
||||||
}
|
}
|
||||||
refreshDeckHash();
|
refreshDeckHash();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue