Skip to content
Permalink
Browse files

[processing] fix map layer combo box layer reference

  • Loading branch information
nirvn committed Sep 18, 2017
1 parent 09195fb commit 938f26159647bce34ee963ae26c8b5a94d632844
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/gui/wrappers.py
@@ -763,7 +763,7 @@ def value(self):
if self.dialogType == DIALOG_STANDARD:
try:
layer = self.combo.currentLayer()
if layer:
if layer is not None:
return layer
else:
return self.combo.currentText()
@@ -1226,7 +1226,7 @@ def value(self):
if self.dialogType == DIALOG_STANDARD:
try:
layer = self.combo.currentLayer()
if layer:
if layer is not None:
return layer
else:
return self.combo.currentText()

0 comments on commit 938f261

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