I would like to add that in patch above I used 'widget.obj.connect' instead of 'widget.connect' so this will affect other objects as well and therefore should be checked.
I would like to add that in patch above I used 'widget. obj.connect' instead of 'widget.connect' so this will affect other objects as well and therefore should be checked.