.txt decks reportedly don't get saved when they're loaded.

This commit is contained in:
Lukas Brübach 2025-01-13 23:57:19 +01:00
parent ba89495dc0
commit 71043e93b7

View file

@ -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());