diff options
author | Ghostkeeper <rubend@tutanota.com> | 2020-11-17 21:41:22 +0300 |
---|---|---|
committer | Ghostkeeper <rubend@tutanota.com> | 2020-11-17 21:41:22 +0300 |
commit | 1cd575702993dd08a9b4239ec37e89ad9ac1b2b4 (patch) | |
tree | b1e4c9cb66f23325d8738177f1d026c6d3925218 /resources | |
parent | 371885d826dc8f1dbc68a449a1b270111d6df786 (diff) |
Fix highlighting of item under tooltip area
The parent was no longer the original parent.
Diffstat (limited to 'resources')
-rw-r--r-- | resources/qml/Widgets/ComboBox.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/qml/Widgets/ComboBox.qml b/resources/qml/Widgets/ComboBox.qml index 47c80a9ce6..d4c526e265 100644 --- a/resources/qml/Widgets/ComboBox.qml +++ b/resources/qml/Widgets/ComboBox.qml @@ -143,8 +143,8 @@ ComboBox { Rectangle { - color: parent.highlighted ? UM.Theme.getColor("setting_control_highlight") : "transparent" - border.color: parent.highlighted ? UM.Theme.getColor("setting_control_border_highlight") : "transparent" + color: delegateItem.highlighted ? UM.Theme.getColor("setting_control_highlight") : "transparent" + border.color: delegateItem.highlighted ? UM.Theme.getColor("setting_control_border_highlight") : "transparent" anchors.fill: parent } text: delegateLabel.truncated ? delegateItem.text : "" |