Skip to content

Commit

Permalink
[processing] fixed issue with min covering extent when layers are pas…
Browse files Browse the repository at this point in the history
…sed as layer names

#fixes 13441
  • Loading branch information
volaya committed Sep 29, 2015
1 parent dee3bab commit 1c69373
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/gui/ExtentSelectionPanel.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1c69373

Please sign in to comment.