mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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 <dirk@hohndel.org>
This commit is contained in:
parent
2d6710bdef
commit
0a88d9839c
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ ComboBox {
|
||||||
anchors.left: cb.left
|
anchors.left: cb.left
|
||||||
leftPadding: Kirigami.Units.smallSpacing
|
leftPadding: Kirigami.Units.smallSpacing
|
||||||
rightPadding: Kirigami.Units.smallSpacing
|
rightPadding: Kirigami.Units.smallSpacing
|
||||||
text: cb.displayText
|
text: readOnly ? cb.displayText : cb.editText
|
||||||
font: cb.font
|
font: cb.font
|
||||||
color: subsurfaceTheme.textColor
|
color: subsurfaceTheme.textColor
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue