summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-12-30 21:23:50 (GMT)
committerclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-12-30 21:23:50 (GMT)
commit106c301a4b38f3a45f223d7947abfb83de8a0d99 (patch)
treeb460ca2d40bd839cd764bf872742f6c5822afe3a
parentd03268b95bdb4f000e082f975e6eeaf2c442eea4 (diff)
Clifford Wolf:
Clear 'modified' flags when file is saved git-svn-id: http://svn.clifford.at/openscad/trunk@190 b57f626f-c46c-0410-a088-ec61d464b74c
-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