Skip to content
Permalink
Browse files
[processing] Fix broken execution of models via browser/drag and drop
Fixes #43698
Fixes #42181
  • Loading branch information
nyalldawson authored and github-actions committed Jun 14, 2021
1 parent 2fe68cc commit f51c25801ca343eb851cbb200c25fb8d14505b84
Showing with 3 additions and 0 deletions.
  1. +3 −0 python/plugins/processing/ProcessingPlugin.py
@@ -85,6 +85,9 @@ def runAlg(file):
alg.setProvider(QgsApplication.processingRegistry().providerById('model'))
dlg = AlgorithmDialog(alg, parent=iface.mainWindow())
dlg.show()
# do NOT remove!!!! if you do then sip forgets the python subclass of AlgorithmDialog and you get a broken
# dialog
dlg.exec_()
return True

def customUriProviderKey(self):

0 comments on commit f51c258

Please sign in to comment.