From 0a88d9839cae52e3f64606c8f3a61caea95aa98f Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 30 Dec 2020 14:01:07 -0800 Subject: [PATCH] mobile UI: avoid circular dependency The relevant text field names are different depending on whether our combo box is editable or not. Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/TemplateComboBox.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile-widgets/qml/TemplateComboBox.qml b/mobile-widgets/qml/TemplateComboBox.qml index e51c7d060..4d5844a88 100644 --- a/mobile-widgets/qml/TemplateComboBox.qml +++ b/mobile-widgets/qml/TemplateComboBox.qml @@ -53,7 +53,7 @@ ComboBox { anchors.left: cb.left leftPadding: Kirigami.Units.smallSpacing rightPadding: Kirigami.Units.smallSpacing - text: cb.displayText + text: readOnly ? cb.displayText : cb.editText font: cb.font color: subsurfaceTheme.textColor verticalAlignment: Text.AlignVCenter