Re: [QGIS-Developer] QgsCheckableComboBox setEditable makes QGIS crash

2022-02-13 Thread Matthias Kuhn
Confirmed Fix inbound https://github.com/qgis/QGIS/pull/47330 Cheers Matthias On Sun, Feb 13, 2022 at 12:12 PM Bo Victor Thomsen < bo.victor.thom...@gmail.com> wrote: > On QGIS 3.22.0, Windows 10: > > c = QgsCheckableComboBox() > c.setEditable(False) > c.show() > > Crashes QGIS > > c =

Re: [QGIS-Developer] QgsCheckableComboBox setEditable makes QGIS crash

2022-02-13 Thread Bo Victor Thomsen
On QGIS 3.22.0, Windows 10: c = QgsCheckableComboBox() c.setEditable(False) c.show() Crashes QGIS c = QgsCheckableComboBox() c.setEditable(True) c.show() Shows a dialog with a combobox, no crash c = QComboBox() c.setEditable(False) c.show() Shows a dialog with a combobox, no crash I would

Re: [QGIS-Developer] QgsCheckableComboBox setEditable makes QGIS crash

2022-02-11 Thread Benjamin Jakimow
I can confirm this for QGIS 3.23 master on OSGEO4W. On 2022-02-11 16:42, matteo wrote: Hi all, I'm using a QgsCheckableComboBox in an UI of a plugin. If I use the flag setEditable = False, bot from UI or from code, QGIS simply explodes (3.16 from package, 3.23 compiled on a Debian sid OS).

[QGIS-Developer] QgsCheckableComboBox setEditable makes QGIS crash

2022-02-11 Thread matteo
Hi all, I'm using a QgsCheckableComboBox in an UI of a plugin. If I use the flag setEditable = False, bot from UI or from code, QGIS simply explodes (3.16 from package, 3.23 compiled on a Debian sid OS). What is strange, at least for me, is that even by using in a python console the