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++

Also avoid referring to parent for text property base seperator.

Wolthera van Hövell tot Westerflierb1ec16ebb9fe
diff --git a/plugins/dockers/textproperties/qml/TextPropertyBase.qml b/plugins/dockers/textproperties/qml/TextPropertyBase.qml
index 4a290980cc..5b893f58cf 100644
--- a/plugins/dockers/textproperties/qml/TextPropertyBase.qml
+++ b/plugins/dockers/textproperties/qml/TextPropertyBase.qml
@@ -67,7 +67,7 @@ Column {
MenuSeparator {
id: seperator;
- width: parent.width;
+ width: parent && typeof parent != 'undefined'? parent.width: 100;
topPadding: parent.padding;
}
}