From 15295b5e607b63716f4716f77c307fba43fe3f45 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Thu, 18 Jan 2018 15:30:52 +0100 Subject: [PATCH] Show a tooltip with the keyboard short on hover --- discover/qml/SearchField.qml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/discover/qml/SearchField.qml b/discover/qml/SearchField.qml index 2125ec22..76aae2b0 100644 --- a/discover/qml/SearchField.qml +++ b/discover/qml/SearchField.qml @@ -42,6 +42,13 @@ TextField Component.onCompleted: forceActiveFocus() + hoverEnabled: true + ToolTip { + delay: Kirigami.Units.longDuration + visible: hovered + text: searchAction.shortcut + } + QQC1.ToolButton { anchors { top: parent.top -- GitLab