[QGIS-Developer] Qt slot methods are not triggered

Miłosz Pigłas milosz.piglas at gmail.com
Wed Oct 28 11:38:07 PDT 2020


Hi, I have very simple plugin with button, list and status bar:
https://github.com/miloszpiglas/test_qgis_plugin. Button and list have
attached slot methods, which should be triggered on certain events.
But when I select item on list or click button nothing happens.

The same code works fine as standalone application.

What bothers me most is that when I uncomment line 41 slot methods are
triggered. Log message is printed and status bar is updated when I
click in list. Exception is thrown when button is pressed.

Any suggestion what I'm doing wrong will be appreciated ;)

Kind regards,
Milosz


More information about the QGIS-Developer mailing list