Commit ecdc7347 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
parent 0bb3eb2b
......@@ -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()) {
......
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