From 1cd575702993dd08a9b4239ec37e89ad9ac1b2b4 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Tue, 17 Nov 2020 19:41:22 +0100 Subject: [PATCH] Fix highlighting of item under tooltip area The parent was no longer the original parent. --- resources/qml/Widgets/ComboBox.qml | 4 ++-- 1 file 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 : ""