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 crash caused by copy-paste error in SvgTextTool.

Wolthera van Hövell tot Westerflierf90880d5d612
diff --git a/plugins/tools/svgtexttool/SvgTextTool.cpp b/plugins/tools/svgtexttool/SvgTextTool.cpp
index 0f6dcbb8ef..389ba46f06 100644
--- a/plugins/tools/svgtexttool/SvgTextTool.cpp
+++ b/plugins/tools/svgtexttool/SvgTextTool.cpp
@@ -558,7 +558,7 @@ void SvgTextTool::slotTextTypeUpdated()
m_convertType->button(type)->setChecked(true);
} else {
Q_FOREACH(QAbstractButton *button, m_convertType->buttons()) {
- m_convertType->button(type)->setChecked(false);
+ button->setChecked(false);
}
}
}