Commit 23842d24 authored by Dmitry Kazakov's avatar Dmitry Kazakov

Fix resetting zIndex of text shapes on editing

We shouldn't reset zIndex of the shape when we only update it

BUG:408693
parent 080e298f
......@@ -1555,7 +1555,10 @@ KoShape *SvgParser::parseTextElement(const KoXmlElement &e, KoSvgTextShape *merg
uploadStyleToContext(e);
KoSvgTextChunkShape *textChunk = rootTextShape ? rootTextShape : new KoSvgTextChunkShape();
textChunk->setZIndex(m_context.nextZIndex());
if (!mergeIntoShape) {
textChunk->setZIndex(m_context.nextZIndex());
}
textChunk->loadSvg(e, m_context);
......
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