diff --git a/animations/pulser.cpp b/animations/pulser.cpp index 2bc009b23..680872ebd 100644 --- a/animations/pulser.cpp +++ b/animations/pulser.cpp @@ -69,6 +69,7 @@ void PulseAnimation::resetPulser() m_under.data()->setOpacity(m_opacity); m_under.data()->setScale(m_scale); m_under.data()->setZValue(m_zvalue); + m_under.data()->hide(); } } @@ -83,6 +84,10 @@ void PulseAnimation::updateState(QAbstractAnimation::State newState, QAbstractAn setCopy(); } + if (m_under.data()->isVisible() == false) { + m_under.data()->setVisible(true); + } + m_under.data()->setOpacity(direction() == Forward ? 1 : 0); m_under.data()->setScale(direction() == Forward ? m_scale : m_endScale); } else if (newState == Stopped) {