Skip to content
Permalink
Browse files

[processing] Sort algorithms when updating provider alg list.

  • Loading branch information
Rado Guzinski authored and jef-n committed Jul 11, 2014
1 parent 50113cd commit fcd09c5c25f6629744d4f42027ae2b7dfdc1f90e
Showing with 4 additions and 0 deletions.
  1. +4 −0 python/plugins/processing/gui/ProcessingToolbox.py
@@ -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):

0 comments on commit fcd09c5

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