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 16, 2021
1 parent 0909664 commit 9e0cdcba48de04a3fb3a6aa81276e68a0447a6fd
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 9e0cdcb

Please sign in to comment.