Skip to content

Commit

Permalink
fixed addProvider method in toolbox
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed Jun 2, 2016
1 parent 6c878f9 commit a8a2246
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/plugins/processing/gui/ProcessingToolbox.py
Expand Up @@ -308,9 +308,8 @@ def addRecentAlgorithms(self, updating):

def addProvider(self, providerName):
name = 'ACTIVATE_' + providerName.upper().replace(' ', '_')
providerItem = TreeProviderItem(providerName, None, self)
providerItem = TreeProviderItem(providerName, self.algorithmTree, self)
if not ProcessingConfig.getSetting(name):
providerItem = TreeProviderItem(providerName, None, self)
providerItem.setHidden(True)
self.disabledProviderItems[providerName] = providerItem

Expand Down

0 comments on commit a8a2246

Please sign in to comment.