mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
Don't focus locationbar of non-empty tab when restoring session
This commit is contained in:
parent
6ebb9464b2
commit
be110d2d8f
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user