diff --git a/src/lib/app/browserwindow.cpp b/src/lib/app/browserwindow.cpp index 8a75acb33..e7ea30db9 100644 --- a/src/lib/app/browserwindow.cpp +++ b/src/lib/app/browserwindow.cpp @@ -231,7 +231,7 @@ void BrowserWindow::postLaunch() tabWidget()->tabBar()->ensureVisible(); // Update focus - if (locationBar()->text().isEmpty()) + if (LocationBar::convertUrlToText(weView()->webTab()->url()).isEmpty()) locationBar()->setFocus(); else weView()->setFocus();