We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebd5b0b commit 2e4c328Copy full SHA for 2e4c328
python/plugins/processing/modeler/AddModelFromFileAction.py
@@ -69,6 +69,6 @@ def execute(self):
69
self.tr('Error reading model', 'AddModelFromFileAction'),
70
self.tr('Cannot read file', 'AddModelFromFileAction'))
71
return
72
- destFilename = os.path.join(ModelerUtils.defaultModelsFolder(), os.path.basename(filename))
+ destFilename = os.path.join(ModelerUtils.modelsFolder(), os.path.basename(filename))
73
shutil.copyfile(filename, destFilename)
74
self.toolbox.updateProvider('model')
0 commit comments