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 committed Jun 14, 2021
1 parent 9de5d25 commit cbe2678e34767f01dd3d2578261c4e55e40a00ba
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 cbe2678

Please sign in to comment.