diff options
| author | Mike Skec <skec@protonmail.ch> | 2020-12-30 15:36:43 +1100 |
|---|---|---|
| committer | Felix Queißner <felix@ib-queissner.de> | 2020-12-30 11:10:54 +0100 |
| commit | 98304cb980d3d019e443e2804dda23e612e9867a (patch) | |
| tree | 76a09c18038167195aa9e92422fc89db9db5fbb1 /src/browsertab.cpp | |
| parent | 91c794d3a6341048b4b38eafbb7ae286aad53f68 (diff) | |
| download | kristall-98304cb980d3d019e443e2804dda23e612e9867a.tar.gz | |
Clear URL bar focus on return key press
Diffstat (limited to 'src/browsertab.cpp')
| -rw-r--r-- | src/browsertab.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/browsertab.cpp b/src/browsertab.cpp index cb23093..3ea95c1 100644 --- a/src/browsertab.cpp +++ b/src/browsertab.cpp @@ -276,6 +276,8 @@ void BrowserTab::on_url_bar_returnPressed() url = QUrl{"gemini://" + this->ui->url_bar->text()}; } + this->ui->url_bar->clearFocus(); + this->navigateTo(url, PushImmediate); } |
