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 update of the text shape after undoing text-flow-grouping
Dmitry Kazakovcd42bebb6d9e
diff --git a/libs/flake/text/KoSvgTextShape.cpp b/libs/flake/text/KoSvgTextShape.cppindex a5cec840df..b8528a3ba7 100644--- a/libs/flake/text/KoSvgTextShape.cpp+++ b/libs/flake/text/KoSvgTextShape.cpp@@ -2127,6 +2127,7 @@ void KoSvgTextShape::addShapeContours(QList<KoShape *> shapes, const bool insideshape->addDependee(this);}}+ notifyChanged(); // notify shape manager that our geometry has changedd->updateTextWrappingAreas();d->updateInternalShapesList();shapeChangedPriv(ContentChanged);@@ -2153,6 +2154,7 @@ void KoSvgTextShape::removeShapesFromContours(QList<KoShape *> shapes, bool calld->shapeGroup->removeShape(shape);}if (callUpdate) {+ notifyChanged(); // notify shape manager that our geometry has changedd->updateTextWrappingAreas();d->updateInternalShapesList();shapeChangedPriv(ContentChanged);