Spectral profile sources setting sampling method in droplist causes error (3.9RC1)

Issue #729 resolved
Fabian Thiel created an issue

Dropdown list is empty, but items can be selected and appear upon selection.

An error has occurred while executing Python code: 

TypeError: subElementRect(self, QStyle.SubElement, QStyleOption, QWidget): not enough arguments 
Traceback (most recent call last):
  File "C:\Users/thielf54/AppData/Roaming/QGIS/QGIS3\profiles\demo/python/plugins\enmapboxplugin\enmapbox\externals\qps\externals\htmlwidgets.py", line 139, in paint
    textRect = style.subElementRect(
TypeError: subElementRect(self, QStyle.SubElement, QStyleOption, QWidget): not enough arguments


Python version: 3.9.5 (tags/v3.9.5:0a7dcbd, May  3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)] 
QGIS version: 3.20.3-Odense Odense, 495fbaec 

Comments (7)

  1. Log in to comment