Skip to content

Commit 55181c6

Browse files
committed
[processing] fix handling of boolean parameters in modeller
1 parent d8c38b5 commit 55181c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python/plugins/processing/modeler/ModelerParametersDialog.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,8 @@ def getWidgetFromParameter(self, param):
269269
item.addItem(self.resolveValueDescription(layer), layer)
270270
elif isinstance(param, ParameterBoolean):
271271
item = QComboBox()
272+
item.addItem('Yes')
273+
item.addItem('No')
272274
bools = self.getAvailableValuesOfType(ParameterBoolean, None)
273275
for b in bools:
274276
item.addItem(self.resolveValueDescription(b), b)

0 commit comments

Comments
 (0)