Skip to content
Permalink
Browse files

fixed addProvider method in toolbox

  • Loading branch information
volaya committed Jun 2, 2016
1 parent 6c878f9 commit a8a2246617c3b83f58a07ba20bf0c8b4753f2eac
Showing with 1 addition and 2 deletions.
  1. +1 −2 python/plugins/processing/gui/ProcessingToolbox.py
@@ -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

0 comments on commit a8a2246

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