mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
BrowserWindow: Give focus to webview before loading url in loadAddress
BrowserWindow::loadAddress() always gets called from user interaction, so it should always update text in location bar (it wouldn't be updated if location bar is focused).
This commit is contained in:
parent
87ce04b11d
commit
18d009c325
@ -809,8 +809,8 @@ void BrowserWindow::loadAddress(const QUrl &url)
|
||||
int index = m_tabWidget->addView(url, qzSettings->newTabPosition);
|
||||
weView(index)->setFocus();
|
||||
} else {
|
||||
weView()->load(url);
|
||||
weView()->setFocus();
|
||||
weView()->load(url);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user