Skip to content
Permalink
Browse files

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

…nbuilt wrapper type

(cherry picked from commit 59d2c53)
  • Loading branch information
nyalldawson committed Nov 27, 2018
1 parent 92407bc commit 2e9f4a331f02644eda40f845a9414c0a78bea34e
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 2e9f4a3

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