Fix highlighting of item under tooltip area

The parent was no longer the original parent.
This commit is contained in:
Ghostkeeper 2020-11-17 19:41:22 +01:00
parent 371885d826
commit 1cd5757029
No known key found for this signature in database
GPG Key ID: D2A8871EE34EC59A

View File

@ -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 : ""