diff options
| author | Don Rowe <rowedonalde@gmail.com> | 2020-07-04 21:28:06 -0700 |
|---|---|---|
| committer | Felix Queißner <felix@ib-queissner.de> | 2020-07-05 12:49:12 +0200 |
| commit | 821c370447dd823020fb3e9e27e3f7cb2f4c6496 (patch) | |
| tree | b41dc1277fddade06587f8e8bab67ef472202111 /src/mainwindow.cpp | |
| parent | 23fac0268233bd468bb6e3126427ab6479d624ed (diff) | |
| download | kristall-821c370447dd823020fb3e9e27e3f7cb2f4c6496.tar.gz | |
Add focus on URL bar when new tab opens
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 2 |
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; } |
