Commit 39ce4e79 authored by Dmitry Kazakov's avatar Dmitry Kazakov
Browse files

Fix clone brush

Do not skip calling parent class implementation

Fixes T2246
parent e6c23b27
......@@ -123,7 +123,7 @@ void KisDuplicateOpSettings::toXML(QDomDocument& doc, QDomElement& rootElt) cons
KisPaintOpSettingsSP KisDuplicateOpSettings::clone() const
KisPaintOpSettingsSP setting = KisPaintOpSettings::clone();
KisPaintOpSettingsSP setting = KisBrushBasedPaintOpSettings::clone();
KisDuplicateOpSettings* s = dynamic_cast<KisDuplicateOpSettings*>(;
s->m_offset = m_offset;
s->m_isOffsetNotUptodate = m_isOffsetNotUptodate;
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