Commit c6324da1 authored by David Edmundson's avatar David Edmundson Committed by Nate Graham
Browse files

Fix apply button with animation slider speed

In updateUnmanagedItemStatus we compare the animation duration with
m_settings->animationDurationFactor

(cherry picked from commit ecdc7347)
parent 67f6a323
......@@ -109,8 +109,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()) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment