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 unsetting the textalign buttons when there's nothing set.
Wolthera van Hövell tot Westerflier29aad670bfdc
diff --git a/plugins/dockers/textproperties/qml/TextAlign.qml b/plugins/dockers/textproperties/qml/TextAlign.qmlindex 2b16646629..fa45d44b12 100644--- a/plugins/dockers/textproperties/qml/TextAlign.qml+++ b/plugins/dockers/textproperties/qml/TextAlign.qml@@ -162,6 +162,11 @@ CollapsibleGroupProperty {}}}+ } else {+ // default to all being unset if nothing is set.+ alignStartBtn.checked = false;+ alignMiddleBtn.checked = false;+ alignEndBtn.checked = false;}}