Bug report #19825

MultipleLayers python widget stays empty when type is TypeMapLayer

Added by Olivier Dalang over 6 years ago. Updated over 6 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Processing/Modeller
Affected QGIS version:3.3(master) Regression?:No
Operating System:Windows 10 Easy fix?:No
Pull Request or Patch supplied:Yes Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:27649

Description

Hi,

There's a small bug with the python wrapper of the widget for QgsProcessingParameterMultipleLayers that is used in the processing modeler.

When the type is TypeMapLayer (e.g. any layer, vector or raster), it doesn't show any layer from the model.

It's most probably just a small mistake in the code (see proposed fix).

Cheers,

Olivier

Associated revisions

History

#1 Updated by Olivier Dalang over 6 years ago

See https://github.com/qgis/QGIS/pull/7864

(seems I can't add the patch supplied flag ?)

#2 Updated by Giovanni Manghi over 6 years ago

  • Pull Request or Patch supplied changed from No to Yes

#3 Updated by Olivier Dalang over 6 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

Also available in: Atom PDF