1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

Select line in locationbar when opening new tabs only when text is empty.

Fixes followup to #752
This commit is contained in:
nowrep 2013-02-28 19:38:12 +01:00
parent 9d6e34e3e5
commit b1eca8095e

View File

@ -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();
}