mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
Select line in locationbar when opening new tabs only when text is empty.
Fixes followup to #752
This commit is contained in:
parent
9d6e34e3e5
commit
b1eca8095e
@ -339,7 +339,7 @@ int TabWidget::addView(QNetworkRequest req, const QString &title, const Qz::NewT
|
||||
webView->load(req);
|
||||
}
|
||||
|
||||
if (selectLine) {
|
||||
if (selectLine && p_QupZilla->locationBar()->text().isEmpty()) {
|
||||
p_QupZilla->locationBar()->setFocus();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user