diff options
author | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-12-30 21:23:50 (GMT) |
---|---|---|
committer | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-12-30 21:23:50 (GMT) |
commit | 106c301a4b38f3a45f223d7947abfb83de8a0d99 (patch) | |
tree | b460ca2d40bd839cd764bf872742f6c5822afe3a | |
parent | d03268b95bdb4f000e082f975e6eeaf2c442eea4 (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.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; } |