Skip to content
Permalink
Browse files

[processing] Fix exception when parameter metadata is set to extend i…

…nbuilt wrapper type
  • Loading branch information
nyalldawson committed Nov 27, 2018
1 parent d72c4d0 commit 59d2c5301f0d22bb70223ea2933ad7e451e5781f
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/gui/wrappers.py
@@ -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

0 comments on commit 59d2c53

Please sign in to comment.
You can’t perform that action at this time.