Skip to content
Permalink
Browse files

[processing] fixed issue with min covering extent when layers are pas…

…sed as layer names

#fixes 13441
  • Loading branch information
volaya committed Sep 29, 2015
1 parent dee3bab commit 1c69373af1dbdbdfcae4ef0dcb518a64ae616c86
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/gui/ExtentSelectionPanel.py
@@ -109,15 +109,15 @@ def getMinCoveringExtent(self):
QgsVectorLayer)):
layer = param.value
else:
layer = dataobjects.getObjectFromUri(param.value)
layer = dataobjects.getObject(param.value)
if layer:
found = True
self.addToRegion(layer, first)
first = False
elif isinstance(param, ParameterMultipleInput):
layers = param.value.split(';')
for layername in layers:
layer = dataobjects.getObjectFromUri(layername, first)
layer = dataobjects.getObject(layername, first)
if layer:
found = True
self.addToRegion(layer, first)

0 comments on commit 1c69373

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