diff --git a/widgets/pushbutton.cpp b/widgets/pushbutton.cpp index 3ab05ef34..e251d60e7 100644 --- a/widgets/pushbutton.cpp +++ b/widgets/pushbutton.cpp @@ -300,7 +300,7 @@ void PushButton::paint(QPainter *painter, } //if is under mouse draw the animated glow overlay - if (!nativeWidget()->isDown() && nativeWidget()->isChecked() && isEnabled() && acceptHoverEvents()) { + if (!nativeWidget()->isDown() && !nativeWidget()->isChecked() && isEnabled() && acceptHoverEvents()) { if (d->animId != -1) { QPixmap normalPix = d->background->framePixmap(); d->background->setElementPrefix("active");