diff --git a/src/app/mainwindow.cpp b/src/app/mainwindow.cpp index 606e1e886..5b9ddee3f 100644 --- a/src/app/mainwindow.cpp +++ b/src/app/mainwindow.cpp @@ -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;