Navigation Menu

Skip to content

Commit

Permalink
[sextante] Fixed issue when using non-file based vector layers in mod…
Browse files Browse the repository at this point in the history
…eler
  • Loading branch information
volaya committed Apr 17, 2013
1 parent 06d2045 commit 17d8007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/sextante/parameters/ParameterVector.py
Expand Up @@ -58,7 +58,7 @@ def setValue(self, obj):
self.value = unicode(obj)
layers = QGisLayers.getVectorLayers(self.shapetype)
for layer in layers:
if layer.name() == self.value:
if layer.name() == self.value or layer.source() == self.value:
self.value = unicode(layer.source())
return True
return os.path.exists(self.value)
Expand Down

0 comments on commit 17d8007

Please sign in to comment.