diff --git a/src/App/Document.cpp b/src/App/Document.cpp index 8f6c1f6599..3294812caf 100644 --- a/src/App/Document.cpp +++ b/src/App/Document.cpp @@ -1478,7 +1478,7 @@ void Document::onChanged(const Property* prop) this->TransientDir.setValue(new_dir); } else { - if (!TransDirNew.createDirectory()) + if (!TransDirNew.createDirectories()) Base::Console().Warning("Failed to create '%s'\n", new_dir.c_str()); else this->TransientDir.setValue(new_dir);