Clear undo stack after saving.
--HG-- branch : feature
This commit is contained in:
parent
cc6ed85407
commit
4e1bb4bea5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user