diff options
-rw-r--r-- | mainwin.cc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -703,6 +703,8 @@ void MainWindow::actionSave() fprintf(fp, "%s", editor->toPlainText().toAscii().data()); fclose(fp); PRINTA("Saved design `%1'.", this->fileName); + this->setWindowModified(false); + this->editor->document()->setModified(false); } current_win = NULL; } |