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

(cherry picked from commit 59d2c53)
  • Loading branch information
nyalldawson committed Nov 29, 2018
1 parent 92407bc commit 2e9f4a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/gui/wrappers.py
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 2e9f4a3

Please sign in to comment.