2019-11-04, 13:21
Hi all,
I have an addon that works perfectly using Leia.
Today I have checked it over Matrix and it crash. In the log I can see the error comes from a file from pyxbmct.
File "...\addons\script.module.pyxbmct\lib\pyxbmct\addonwindow.py", line 746, in setGeometry
self.background.setPosition(self.x, self.y)
AttributeError: 'MyWindow' object has no attribute 'background'
MyWindow is a class defined this way:
class MyWindow(pyxbmct.AddonDialogWindow)
As I've said, in Leia it works. Can somebody help me ?
Thanks in advance.
I have an addon that works perfectly using Leia.
Today I have checked it over Matrix and it crash. In the log I can see the error comes from a file from pyxbmct.
File "...\addons\script.module.pyxbmct\lib\pyxbmct\addonwindow.py", line 746, in setGeometry
self.background.setPosition(self.x, self.y)
AttributeError: 'MyWindow' object has no attribute 'background'
MyWindow is a class defined this way:
class MyWindow(pyxbmct.AddonDialogWindow)
As I've said, in Leia it works. Can somebody help me ?
Thanks in advance.