Skip to content

Commit

Permalink
[processing] Sort algorithms when updating provider alg list.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rado Guzinski authored and jef-n committed Jul 11, 2014
1 parent 50113cd commit fcd09c5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/plugins/processing/gui/ProcessingToolbox.py
Expand Up @@ -123,6 +123,10 @@ def updateProvider(self, providerName, updateAlgsList = True):
if isinstance(child, TreeProviderItem):
if child.providerName == providerName:
child.refresh()
# sort categories and items in categories
child.sortChildren(0, Qt.AscendingOrder)
for i in xrange(child.childCount()):
child.child(i).sortChildren(0, Qt.AscendingOrder)
break

def showPopupMenu(self, point):
Expand Down

0 comments on commit fcd09c5

Please sign in to comment.