Skip to content
Browse files

[processing] Correctly make extent selection combo box non-editable

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 66f82530bdff11631eb35c4cf2e30c6cd91a9f8f
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/gui/
@@ -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"])))

0 comments on commit 66f8253

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