mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-19 18:26:34 +01:00
Selecting all the contents of the WebSearchBar when receiving focus from
keyboard (i.e., Ctrl+K).
This commit is contained in:
parent
73d11206ae
commit
f16e29b8be
@ -104,6 +104,8 @@ void WebSearchBar::focusInEvent(QFocusEvent* e)
|
||||
|
||||
if (text() == search) {
|
||||
clear();
|
||||
} else {
|
||||
selectAll();
|
||||
}
|
||||
QLineEdit::focusInEvent(e);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user