Set undo stack clean after each document save.

--HG--
branch : develop
This commit is contained in:
dismine 2014-12-25 12:28:42 +02:00
parent 45aebc627e
commit c978a8c090

View File

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