Jan-09-2018, 09:50 PM
replace the line self.bgAct = .... with:
self.bgAct = QAction("change Background Color",self, triggered=self.changeBGColor) self.bgAct.setStatusTip("change Background Color") self.bgAct.setIcon(QIcon.fromTheme("preferences-color-symbolic"))that makes it working on python 2 for me.