Skip to content
Permalink
Browse files

Fix error when deleting models

  • Loading branch information
nyalldawson committed Jun 24, 2017
1 parent bb73596 commit e2331c913ce4e88b1d5863facb804a504ef4ca51
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/modeler/DeleteModelAction.py
@@ -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.
You can’t perform that action at this time.