non-MDI compile fix

git-svn-id: http://svn.clifford.at/openscad/trunk@172 b57f626f-c46c-0410-a088-ec61d464b74c
stl_dim
kintel 2009-12-13 22:20:03 +00:00
parent fc7ee9cc39
commit 0722e013cb
1 changed files with 1 additions and 2 deletions

View File

@ -605,8 +605,7 @@ void MainWindow::actionNew()
#ifdef ENABLE_MDI
new MainWindow;
#else
filename = QString();
setWindowTitle("OpenSCAD - New Document[*]");
setFileName("");
editor->setPlainText("");
#endif
}