Commit c62901d8 authored by Shubham  .'s avatar Shubham .

Don't show tooltip when search field has text and set a timeout period

Summary: Earlier, the tooltip was continuosly shown even though it was observed when search field was empty.

Test Plan: Hover over search field

Reviewers: apol

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D18766
parent b44d5da6
......@@ -44,7 +44,7 @@ TextField
hoverEnabled: true
ToolTip {
delay: Kirigami.Units.longDuration
visible: hovered
visible: hovered && searchField.text.length === 0
text: searchAction.shortcut
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment