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 toggle italic action.
Wolthera van Hövell tot Westerflierfe199474e45c
diff --git a/plugins/tools/svgtexttool/SvgTextShortCuts.cpp b/plugins/tools/svgtexttool/SvgTextShortCuts.cppindex f1ed1c145b..9b9e8a1d19 100644--- a/plugins/tools/svgtexttool/SvgTextShortCuts.cpp+++ b/plugins/tools/svgtexttool/SvgTextShortCuts.cpp@@ -206,7 +206,7 @@ bool testPropertyEnabled(const SvgTextShortcutInfo &info, const QList<KoSvgTextP} else if (oldValue.canConvert<KoSvgText::CssFontStyleData>()) {const KoSvgText::CssFontStyleData testVal = testValue.value<KoSvgText::CssFontStyleData>();const KoSvgText::CssFontStyleData currentVal = oldValue.value<KoSvgText::CssFontStyleData>();- return (testVal.style == currentVal.style);+ return (testVal.style != currentVal.style);} else if (oldValue.canConvert<KoSvgText::AutoValue>()) {const KoSvgText::AutoValue currentVal = oldValue.value<KoSvgText::AutoValue>();if (testValue.canConvert<KoSvgText::AutoValue>()) {