Fix apply button with animation slider speed

In updateUnmanagedItemStatus we compare the animation duration with
m_settings->animationDurationFactor
This commit is contained in:
David Edmundson 2022-06-29 14:54:31 +01:00 committed by Nate Graham
parent 0bb3eb2baf
commit ecdc73476f

View file

@ -110,8 +110,8 @@ void KWinCompositingKCM::init()
// animation speed
m_form.animationDurationFactor->setMaximum(s_animationMultipliers.size() - 1);
connect(m_form.animationDurationFactor, &QSlider::valueChanged, this, [this]() {
m_settings->setAnimationDurationFactor(s_animationMultipliers[m_form.animationDurationFactor->value()]);
updateUnmanagedItemStatus();
m_settings->setAnimationDurationFactor(s_animationMultipliers[m_form.animationDurationFactor->value()]);
});
if (isRunningPlasma()) {