Skip to content

Commit

Permalink
Fix error when deleting models
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jun 24, 2017
1 parent bb73596 commit e2331c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/modeler/DeleteModelAction.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ def execute(self):
QMessageBox.Yes | QMessageBox.No,
QMessageBox.No)
if reply == QMessageBox.Yes:
os.remove(self.itemData.descriptionFile)
os.remove(self.itemData.sourceFilePath())
QgsApplication.processingRegistry().providerById('model').refreshAlgorithms()

0 comments on commit e2331c9

Please sign in to comment.