mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
Fix error when deleting models
This commit is contained in:
parent
bb73596406
commit
e2331c913c
@ -48,5 +48,5 @@ class DeleteModelAction(ContextAction):
|
||||
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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user