Skip to content
Browse files
Refresh model algorithms when providers are added
Since algorithms which models are dependent upon may now be
available, we need to rebuild them to ensure that they
will operate correctly.
  • Loading branch information
nyalldawson committed Jun 24, 2017
1 parent ab9470d commit 5822ef9f46d567d49bf5685a3c2b2cbc452ec539
Showing with 4 additions and 0 deletions.
  1. +4 −0 python/plugins/processing/modeler/
@@ -58,6 +58,10 @@ def __init__(self):
self.contextMenuActions = [EditModelAction(), DeleteModelAction()]
self.algs = []

# must reload models if providers list is changed - previously unavailable algorithms
# which models depend on may now be available

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

0 comments on commit 5822ef9

Please sign in to comment.