Clear undo stack after saving.

--HG--
branch : feature
This commit is contained in:
dismine 2014-06-09 20:43:22 +03:00
parent cc6ed85407
commit 4e1bb4bea5

View File

@ -1645,7 +1645,7 @@ bool MainWindow::SavePattern(const QString &fileName)
{
setCurrentFile(fileName);
helpLabel->setText(tr("File saved"));
qApp->getUndoStack()->setClean();
qApp->getUndoStack()->clear();
}
}
return result;