Commit fabf02e2 authored by Sven Langkamp's avatar Sven Langkamp Committed by Halla Rempt
Browse files

fix problem with saving thickness in hatching brush after an old preset was loaded and then saved

BUG:328970
parent cd7d1273
......@@ -92,5 +92,6 @@ void KisHatchingPaintOpSettings::fromXML(const QDomElement& elt)
if(!getProperty(HATCHING_VERSION, v) || v == "1")
{
setProperty("Hatching/thickness", 2.0 * getDouble("Hatching/thickness"));
}
}
setProperty(HATCHING_VERSION, "2"); // make sure it's saved as version 2 next time
}
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