Skip to content

Commit 2982b57

Browse files
author
Rado Guzinski
committed
[processing] Sort algorithms when updating provider alg list.
1 parent f89d275 commit 2982b57

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

python/plugins/processing/gui/ProcessingToolbox.py

+4
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@ def updateProvider(self, providerName, updateAlgsList = True):
123123
if isinstance(child, TreeProviderItem):
124124
if child.providerName == providerName:
125125
child.refresh()
126+
# sort categories and items in categories
127+
child.sortChildren(0, Qt.AscendingOrder)
128+
for i in xrange(child.childCount()):
129+
child.child(i).sortChildren(0, Qt.AscendingOrder)
126130
break
127131

128132
def showPopupMenu(self, point):

0 commit comments

Comments
 (0)