Skip to content
Permalink
Browse files

[sextante] Fixed issue when using non-file based vector layers in mod…

…eler
  • Loading branch information
volaya committed Apr 17, 2013
1 parent 06d2045 commit 17d8007002732737b0097ea2fc7ce261c18224fb
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/sextante/parameters/ParameterVector.py
@@ -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)

0 comments on commit 17d8007

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