Skip to content
Permalink
Browse files

Another Travis fix

  • Loading branch information
nyalldawson committed Sep 21, 2018
1 parent 0c79d08 commit adfaf7616822f4250d5e72800642b5b8177f6cba
Showing with 2 additions and 1 deletion.
  1. +2 −1 python/plugins/processing/gui/BatchPanel.py
@@ -256,7 +256,8 @@ def setCellWrapper(self, row, column, wrapper, context):
is_cpp_wrapper = not issubclass(wrapper.__class__, WidgetWrapper)
if is_cpp_wrapper:
widget_context = QgsProcessingParameterWidgetContext()
widget_context.setMapCanvas(iface.mapCanvas())
if iface is not None:
widget_context.setMapCanvas(iface.mapCanvas())
wrapper.setWidgetContext(widget_context)
widget = wrapper.createWrappedWidget(context)
else:

0 comments on commit adfaf76

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