Set undo stack clean after each document save.
--HG-- branch : develop
This commit is contained in:
parent
45aebc627e
commit
c978a8c090
|
@ -2039,7 +2039,7 @@ void MainWindow::AutoSavePattern()
|
|||
void MainWindow::setCurrentFile(const QString &fileName)
|
||||
{
|
||||
curFile = fileName;
|
||||
setWindowModified(false);
|
||||
qApp->getUndoStack()->setClean();
|
||||
|
||||
QString shownName = strippedName(curFile);
|
||||
if (curFile.isEmpty())
|
||||
|
|
Loading…
Reference in New Issue
Block a user