Commit 7f5e39dc authored by Boudewijn Rempt's avatar Boudewijn Rempt

Fix saving the rate to the airbrush settings

parent 39e5b30d
......@@ -152,6 +152,6 @@ void KisAirbrushOptionProperties::readOptionSettingImpl(const KisPropertiesConfi
void KisAirbrushOptionProperties::writeOptionSettingImpl(KisPropertiesConfiguration *setting) const {
setting->setProperty(AIRBRUSH_ENABLED, enabled);
setting->setProperty(AIRBRUSH_RATE, 1000.0 / airbrushInterval > 0 ? airbrushInterval : 1.0);
setting->setProperty(AIRBRUSH_RATE, airbrushInterval > 0 ? 1000.0 / airbrushInterval : 1.0);
setting->setProperty(AIRBRUSH_IGNORE_SPACING, ignoreSpacing);
}
Markdown is supported
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