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

Fix situation where some visibly unselected text shape would still change color.

Wolthera van Hövell tot Westerflierd59815f975b2
diff --git a/plugins/tools/svgtexttool/SvgTextTool.cpp b/plugins/tools/svgtexttool/SvgTextTool.cpp
index f542cf218d..8707812282 100644
--- a/plugins/tools/svgtexttool/SvgTextTool.cpp
+++ b/plugins/tools/svgtexttool/SvgTextTool.cpp
@@ -128,6 +128,7 @@ void SvgTextTool::deactivate()
{
KoToolBase::deactivate();
m_canvasConnections.clear();
+ m_textCursor.setShape(nullptr);
const KisCanvas2 *canvas2 = qobject_cast<const KisCanvas2 *>(this->canvas());
if (canvas2) {
canvas2->viewManager()->textPropertyManager()->setTextPropertiesInterface(nullptr);