Skip to content
Permalink
Browse files

[processing] Fix slot prototype in ModelerAlgorithmProvider. Fix #18162

  • Loading branch information
arnaud-morvan committed Feb 21, 2018
1 parent f8c3f39 commit d3a4a3451552517fa5a03d90d86d615a58975404
Showing with 4 additions and 1 deletion.
  1. +4 −1 python/plugins/processing/modeler/ModelerAlgorithmProvider.py
@@ -62,7 +62,10 @@ def __init__(self):

# must reload models if providers list is changed - previously unavailable algorithms
# which models depend on may now be available
QgsApplication.processingRegistry().providerAdded.connect(self.refreshAlgorithms)
QgsApplication.processingRegistry().providerAdded.connect(self.onProviderAdded)

def onProviderAdded(self, provider_id):
self.refreshAlgorithms()

def load(self):
ProcessingConfig.settingIcons[self.name()] = self.icon()

0 comments on commit d3a4a34

Please sign in to comment.
You can’t perform that action at this time.