Skip to content

Commit

Permalink
[processing] Fix exception when parameter metadata is set to extend i…
Browse files Browse the repository at this point in the history
…nbuilt wrapper type
  • Loading branch information
nyalldawson committed Nov 29, 2018
1 parent d72c4d0 commit 59d2c53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/gui/wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1773,7 +1773,7 @@ class WidgetWrapperFactory:
@staticmethod
def create_wrapper(param, dialog, row=0, col=0):

if param.metadata().get('widget_wrapper', None) is not None:
if param.metadata().get('widget_wrapper', {}).get('class', None) is not None:
return WidgetWrapperFactory.create_wrapper_from_metadata(param, dialog, row, col)
else:
# try from c++ registry first
Expand Down

0 comments on commit 59d2c53

Please sign in to comment.