diff --git a/source/widgets/pixmapdial.py b/source/widgets/pixmapdial.py index 8281de583..10a973dde 100644 --- a/source/widgets/pixmapdial.py +++ b/source/widgets/pixmapdial.py @@ -252,10 +252,12 @@ class PixmapDial(QDial): return QSize(self.fPixmapBaseSize, self.fPixmapBaseSize) def changeEvent(self, event): - if event.type() == QEvent.EnabledChange: - QTimer.singleShot(0, self.slot_updatePixmap) QDial.changeEvent(self, event) + # Force pixmap update if enabled state changes + if event.type() == QEvent.EnabledChange: + self.setPixmap(int(self.fPixmapNum)) + def enterEvent(self, event): self.fIsHovered = True if self.fHoverStep == self.HOVER_MIN: