aboutsummaryrefslogtreecommitdiff
path: root/src/browsertab.cpp
diff options
context:
space:
mode:
authorMike Skec <skec@protonmail.ch>2021-01-02 12:54:16 +1100
committerFelix Queißner <felix@ib-queissner.de>2021-01-02 12:41:49 +0100
commit90e20d2c047ae1d9527e15267e62dbc8349e7bb3 (patch)
treedbb5e1da6491c0915f2e928aaca552131f70a46f /src/browsertab.cpp
parent05df68b1331dbfdf9aff98139a9a1f96f147e651 (diff)
downloadkristall-90e20d2c047ae1d9527e15267e62dbc8349e7bb3.tar.gz
Get rid of unneeded hacky code for fancy url bar
Diffstat (limited to 'src/browsertab.cpp')
-rw-r--r--src/browsertab.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/browsertab.cpp b/src/browsertab.cpp
index b20d538..3390679 100644
--- a/src/browsertab.cpp
+++ b/src/browsertab.cpp
@@ -706,6 +706,8 @@ void BrowserTab::renderPage(const QByteArray &data, const MimeType &mime)
emit this->locationChanged(this->current_location);
this->updateUI();
+
+ this->updateUrlBarStyle();
}
void BrowserTab::rerenderPage()
@@ -1141,8 +1143,7 @@ void BrowserTab::updateUrlBarStyle()
if (!kristall::options.fancy_urlbar ||
this->ui->url_bar->hasFocus() ||
!url.isValid() ||
- this->is_internal_location ||
- mainWindow->settings_visible)
+ this->is_internal_location)
{
// Disable styling
if (!this->no_url_style)