Skip to content

Commit

Permalink
[processing] Fix slot prototype in ModelerAlgorithmProvider. Fix #18162
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaud-morvan committed Feb 21, 2018
1 parent f8c3f39 commit d3a4a34
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -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()
Expand Down

0 comments on commit d3a4a34

Please sign in to comment.