Skip to content
Browse files

[processing] show layers in alphabetical order in dropdown menu

  • Loading branch information
volaya committed Dec 3, 2014
1 parent 2b37e40 commit e4c9a202056ee3144b013122591efa80d5abbd67
Showing with 1 addition and 0 deletions.
  1. +1 −0 python/plugins/processing/gui/
@@ -214,6 +214,7 @@ def getWidgetFromParameter(self, param):
if self.somethingDependsOnThisParameter(param) or self.alg.allowOnlyOpenedLayers:
item = QComboBox()
layers = dataobjects.getVectorLayers(param.shapetype)
layers.sort(key = lambda lay:
if param.optional:
item.addItem(self.NOT_SELECTED, None)
for layer in layers:

0 comments on commit e4c9a20

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