mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
Another Travis fix
This commit is contained in:
parent
0c79d08d05
commit
adfaf76168
@ -256,7 +256,8 @@ class BatchPanel(BASE, WIDGET):
|
||||
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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user