Skip to content

Commit e2331c9

Browse files
committedJun 24, 2017
Fix error when deleting models
1 parent bb73596 commit e2331c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/plugins/processing/modeler/DeleteModelAction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@ def execute(self):
4848
QMessageBox.Yes | QMessageBox.No,
4949
QMessageBox.No)
5050
if reply == QMessageBox.Yes:
51-
os.remove(self.itemData.descriptionFile)
51+
os.remove(self.itemData.sourceFilePath())
5252
QgsApplication.processingRegistry().providerById('model').refreshAlgorithms()

0 commit comments

Comments
 (0)
Please sign in to comment.