Commit 87f57e94 authored by Halla Rempt's avatar Halla Rempt

Save in batchmode when saving incremental.

When saving incremental, users are in the flow and don't want to be
bothered by export dialogs. What needs to be done still is to make sure
that krita remembers the last settings for the various export dialogs.
parent b77c02fb
......@@ -1022,8 +1022,9 @@ void KisView2::slotSaveIncremental()
KMessageBox::error(this, "Alternative names exhausted, try manually saving with a higher number", "Couldn't save incremental version");
return;
}
pDoc->setSaveInBatchMode(true);
pDoc->saveAs(fileName);
pDoc->setSaveInBatchMode(false);
shell()->updateCaption();
}
......@@ -1128,8 +1129,10 @@ void KisView2::slotSaveIncrementalBackup()
} while (fileAlreadyExists);
// Save both as backup and on current file for interapplication workflow
pDoc->setSaveInBatchMode(true);
pDoc->saveAs(backupFileName);
pDoc->saveAs(fileName);
pDoc->setSaveInBatchMode(false);
shell()->updateCaption();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment