diff --git a/python/plugins/processing/gui/ParametersPanel.py b/python/plugins/processing/gui/ParametersPanel.py index 7e4f8fc7942..3251d3cb608 100644 --- a/python/plugins/processing/gui/ParametersPanel.py +++ b/python/plugins/processing/gui/ParametersPanel.py @@ -134,9 +134,6 @@ class ParametersPanel(BASE, WIDGET): if param.flags() & QgsProcessingParameterDefinition.FlagHidden: continue - if self.in_place and param.name() in ('INPUT', 'OUTPUT'): - continue - if param.isDestination(): continue else: @@ -155,6 +152,13 @@ class ParametersPanel(BASE, WIDGET): else: widget = wrapper.widget + if self.in_place and param.name() in ('INPUT', 'OUTPUT'): + # don't show the input/output parameter widgets in in-place mode + # we still need to CREATE them, because other wrappers may need to interact + # with them (e.g. those parameters which need the input layer for field + # selections/crs properties/etc) + continue + if widget is not None: if is_python_wrapper: widget.setToolTip(param.toolTip())