mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-24 12:46:35 +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();
|
tabWidget()->tabBar()->ensureVisible();
|
||||||
|
|
||||||
// Update focus
|
// Update focus
|
||||||
if (locationBar()->text().isEmpty())
|
if (LocationBar::convertUrlToText(weView()->webTab()->url()).isEmpty())
|
||||||
locationBar()->setFocus();
|
locationBar()->setFocus();
|
||||||
else
|
else
|
||||||
weView()->setFocus();
|
weView()->setFocus();
|
||||||
|
Loading…
Reference in New Issue
Block a user