Do not clear undo stack after saving.
--HG-- branch : develop
This commit is contained in:
parent
d8d5fbe646
commit
b3bfa1b027
|
@ -1873,7 +1873,6 @@ bool MainWindow::SavePattern(const QString &fileName)
|
||||||
{
|
{
|
||||||
setCurrentFile(fileName);
|
setCurrentFile(fileName);
|
||||||
helpLabel->setText(tr("File saved"));
|
helpLabel->setText(tr("File saved"));
|
||||||
qApp->getUndoStack()->clear();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user