summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mainwin.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/mainwin.cc b/mainwin.cc
index 184b0e7..a598016 100644
--- a/mainwin.cc
+++ b/mainwin.cc
@@ -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;
}
contact: Jan Huwald // Impressum