summaryrefslogtreecommitdiff
path: root/mainwin.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mainwin.cc')
-rw-r--r--mainwin.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/mainwin.cc b/mainwin.cc
index 006f40f..6ba7ae1 100644
--- a/mainwin.cc
+++ b/mainwin.cc
@@ -605,8 +605,7 @@ void MainWindow::actionNew()
#ifdef ENABLE_MDI
new MainWindow;
#else
- filename = QString();
- setWindowTitle("OpenSCAD - New Document[*]");
+ setFileName("");
editor->setPlainText("");
#endif
}
contact: Jan Huwald // Impressum