Skip to content

armgit / krita

Public Imported from GitHub
0

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++

Update text selection decoration when changing markup.

Wolthera van Hövell tot Westerflierc7c49cc01571
diff --git a/plugins/tools/svgtexttool/SvgTextCursor.cpp b/plugins/tools/svgtexttool/SvgTextCursor.cpp
index 7c1fcd3d39..323b8be1a4 100644
--- a/plugins/tools/svgtexttool/SvgTextCursor.cpp
+++ b/plugins/tools/svgtexttool/SvgTextCursor.cpp
@@ -1389,6 +1389,8 @@ void SvgTextCursor::notifyMarkupChanged()
{
d->interface->emitSelectionChange();
d->interface->emitCharacterSelectionChange();
+ updateCursor();
+ updateSelection();
updateTypeSettingDecoration();
}