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 text properties docker updating.

Wolthera van Hövell tot Westerflierb2ced6eeccbc
diff --git a/plugins/tools/svgtexttool/SvgTextCursor.cpp b/plugins/tools/svgtexttool/SvgTextCursor.cpp
index ea1efcb2c4..19011d2576 100644
--- a/plugins/tools/svgtexttool/SvgTextCursor.cpp
+++ b/plugins/tools/svgtexttool/SvgTextCursor.cpp
@@ -1548,6 +1548,6 @@ void SvgTextCursorPropertyInterface::emitSelectionChange()
{
// Don't bother updating the selection when there's no shape
// this is so we can use the text properties last used to create new texts.
- if (d->parent->shape()) return;
+ if (!d->parent->shape()) return;
d->compressor.start();
}