mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
WebSearchBar: Select alls text + set focus after search engine changed.
This avoids another (double)click to select the text.
This commit is contained in:
parent
4e7fae4155
commit
9ec85ad49d
@ -174,6 +174,8 @@ void WebSearchBar::setupEngines()
|
||||
|
||||
void WebSearchBar::searchChanged(const ButtonWithMenu::Item &item)
|
||||
{
|
||||
selectAll();
|
||||
setFocus();
|
||||
setPlaceholderText(item.text);
|
||||
m_completerModel->setStringList(QStringList());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user