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++
Disable direction widget when it's currently not settable due paragraph selection.
Wolthera van Hövell tot Westerflier94df84f98572
diff --git a/plugins/dockers/textproperties/qml/Direction.qml b/plugins/dockers/textproperties/qml/Direction.qmlindex ed6eab14a4..ed0c2824da 100644--- a/plugins/dockers/textproperties/qml/Direction.qml+++ b/plugins/dockers/textproperties/qml/Direction.qml@@ -19,8 +19,8 @@ TextPropertyBase {direction = properties.direction;unicodeBidi = properties.unicodeBidi;var set = properties.directionState !== KoSvgTextPropertiesModel.PropertyUnset;- var pType = parentPropertyType === TextPropertyBase.Paragraph? !properties.spanSelection: properties.spanSelection;- visible = set && pType;+ enabled = parentPropertyType === TextPropertyBase.Paragraph? !properties.spanSelection: properties.spanSelection;+ visible = set;blockSignals = false;}