|
@@ -400,7 +400,7 @@ class CuraApplication(QtApplication):
|
|
|
|
|
|
@pyqtSlot(str, str)
|
|
|
def setDefaultPath(self, key, default_path):
|
|
|
- Preferences.getInstance().setValue("local_file/%s" % key, default_path)
|
|
|
+ Preferences.getInstance().setValue("local_file/%s" % key, QUrl.toLocalFile(default_path))
|
|
|
|
|
|
## Handle loading of all plugin types (and the backend explicitly)
|
|
|
# \sa PluginRegistery
|