aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorDon Rowe <rowedonalde@gmail.com>2020-07-04 21:28:06 -0700
committerFelix Queißner <felix@ib-queissner.de>2020-07-05 12:49:12 +0200
commit821c370447dd823020fb3e9e27e3f7cb2f4c6496 (patch)
treeb41dc1277fddade06587f8e8bab67ef472202111 /src/mainwindow.cpp
parent23fac0268233bd468bb6e3126427ab6479d624ed (diff)
downloadkristall-821c370447dd823020fb3e9e27e3f7cb2f4c6496.tar.gz
Add focus on URL bar when new tab opens
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index bf77974..ba80651 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -99,6 +99,8 @@ BrowserTab * MainWindow::addEmptyTab(bool focus_new, bool load_default)
tab->navigateTo(QUrl("about:blank"), BrowserTab::DontPush);
}
+ tab->focusUrlBar();
+
return tab;
}