From 106c301a4b38f3a45f223d7947abfb83de8a0d99 Mon Sep 17 00:00:00 2001 From: clifford Date: Wed, 30 Dec 2009 21:23:50 +0000 Subject: Clifford Wolf: Clear 'modified' flags when file is saved git-svn-id: http://svn.clifford.at/openscad/trunk@190 b57f626f-c46c-0410-a088-ec61d464b74c 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; } -- cgit v0.10.1