Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
Fix passing on boolean for rich text insert in text tool.
Wolthera van Hövell tot Westerflierb4632ea097f2
diff --git a/plugins/tools/svgtexttool/SvgTextCursor.cpp b/plugins/tools/svgtexttool/SvgTextCursor.cppindex 084853d467..f925b2b2ec 100644--- a/plugins/tools/svgtexttool/SvgTextCursor.cpp+++ b/plugins/tools/svgtexttool/SvgTextCursor.cpp@@ -607,7 +607,7 @@ void SvgTextCursor::insertRichText(KoSvgTextShape *insert, bool inheritPropertieaddCommandToUndoAdapter(removeCmd);}- SvgTextInsertRichCommand *cmd = new SvgTextInsertRichCommand(d->shape, insert, d->pos, d->anchor);+ SvgTextInsertRichCommand *cmd = new SvgTextInsertRichCommand(d->shape, insert, d->pos, d->anchor, inheritPropertiesIfPossible);addCommandToUndoAdapter(cmd);}