Skip to content

Commit 7bffef7

Browse files
committed
[processing] Fix ModelerParametersDialog when len(widget) == 0
1 parent c768edf commit 7bffef7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/processing/modeler/ModelerParametersDialog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def setupUi(self):
146146
self.wrappers[param.name] = wrapper
147147

148148
widget = wrapper.widget
149-
if widget:
149+
if widget is not None:
150150
self.valueItems[param.name] = widget
151151
if param.name in list(tooltips.keys()):
152152
tooltip = tooltips[param.name]

0 commit comments

Comments
 (0)