diff --git a/modules/BarIcon.qml b/modules/BarIcon.qml index 43b624b..24a01ce 100644 --- a/modules/BarIcon.qml +++ b/modules/BarIcon.qml @@ -76,4 +76,7 @@ Text { } } } + + onTooltipChanged: if (_hovered && tooltip !== "") + M.FlyoutState.text = tooltip } diff --git a/modules/BarLabel.qml b/modules/BarLabel.qml index f5f2cc3..1c30699 100644 --- a/modules/BarLabel.qml +++ b/modules/BarLabel.qml @@ -47,4 +47,7 @@ Text { } } } + + onTooltipChanged: if (_hovered && tooltip !== "") + M.FlyoutState.text = tooltip } diff --git a/modules/BarSection.qml b/modules/BarSection.qml index 3384bb6..a2b0039 100644 --- a/modules/BarSection.qml +++ b/modules/BarSection.qml @@ -37,4 +37,7 @@ Row { } } } + + onTooltipChanged: if (_hovered && tooltip !== "") + M.FlyoutState.text = tooltip }