Skip to content


[processing] Correctly make extent selection combo box non-editable
Browse files Browse the repository at this point in the history
The choice is supposed to be only from the listed options, and
shouldn't allow free-form user text
  • Loading branch information
nyalldawson committed Sep 21, 2018
1 parent f44be44 commit 66f8253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/gui/
Expand Up @@ -137,7 +137,7 @@ def useLayerExtent(self):
extentsDict[layerName] = {"extent": layer.extent(), "authid": authid}
(item, ok) = QInputDialog.getItem(self,'Select Extent'),'Use extent from'), extents, False)'Use extent from'), extents, 0, False)
if ok:
self.setValueFromRect(QgsReferencedRectangle(extentsDict[item]["extent"], QgsCoordinateReferenceSystem(extentsDict[item]["authid"])))

Expand Down

0 comments on commit 66f8253

Please sign in to comment.