mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-15 11:38:49 -07:00
.txt decks reportedly don't get saved when they're loaded. (#5459)
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
parent
ba89495dc0
commit
6072df3522
1 changed files with 1 additions and 0 deletions
|
|
@ -139,6 +139,7 @@ bool DeckLoader::updateLastLoadedTimestamp(const QString &fileName, FileFormat f
|
||||||
// Perform file modifications
|
// Perform file modifications
|
||||||
switch (fmt) {
|
switch (fmt) {
|
||||||
case PlainTextFormat:
|
case PlainTextFormat:
|
||||||
|
result = saveToFile_Plain(&file);
|
||||||
break;
|
break;
|
||||||
case CockatriceFormat:
|
case CockatriceFormat:
|
||||||
setLastLoadedTimestamp(QDateTime::currentDateTime().toString());
|
setLastLoadedTimestamp(QDateTime::currentDateTime().toString());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue