summaryrefslogtreecommitdiff
path: root/src/mainwin.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwin.cc')
-rw-r--r--src/mainwin.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwin.cc b/src/mainwin.cc
index 6ef7777..3567ddd 100644
--- a/src/mainwin.cc
+++ b/src/mainwin.cc
@@ -490,7 +490,7 @@ MainWindow::setFileName(const QString &filename)
{
if (filename.isEmpty()) {
this->fileName.clear();
- this->root_ctx.setDocumentPath(currentdir.toStdString());
+ this->root_ctx.setDocumentPath(currentdir);
setWindowTitle("OpenSCAD - New Document[*]");
}
else {
contact: Jan Huwald // Impressum