Skip to content

Commit

Permalink
[processing] fix map layer combo box layer reference
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Sep 18, 2017
1 parent 09195fb commit 938f261
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/gui/wrappers.py
Expand Up @@ -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()
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit 938f261

Please sign in to comment.