Commit 5558ebc0 authored by Dmitry Kazakov's avatar Dmitry Kazakov
Browse files

Fix cycling updates in the new colorsmudge enginge config widget

When changing radius range we may accidentially change the actual
radius value. Since it happens in the 'page-changed' call, we need
to make sure this change doesn't emit any signal.

parent 3ba6d0d9
Pipeline #204283 failed with stage
in 26 minutes and 50 seconds
......@@ -105,6 +105,8 @@ void KisColorSmudgeOpSettingsWidget::notifyPageChanged()
m_smudgeOptionWidget->setUseNewEngineCheckboxEnabled(brush->brushApplication() == ALPHAMASK);
m_overlayOptionWidget->setEnabled(brush->brushApplication() != LIGHTNESSMAP);
KisSignalsBlocker b(m_radiusStrengthOptionWidget);
m_radiusStrengthOptionWidget->updateRange(0.0, m_smudgeOptionWidget->useNewEngine() ? 1.0 : 3.0);
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