From 40df924bc7289155a21a7c4ee901fc7c5e1673bd Mon Sep 17 00:00:00 2001 From: Mike Skec Date: Thu, 31 Dec 2020 17:14:33 +1100 Subject: Add preference for url bar styling --- src/browsertab.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/browsertab.cpp') diff --git a/src/browsertab.cpp b/src/browsertab.cpp index 549f41a..f98a0f2 100644 --- a/src/browsertab.cpp +++ b/src/browsertab.cpp @@ -1136,7 +1136,8 @@ void BrowserTab::updateUrlBarStyle() // Set all text to default colour if url bar // is focused, is at an internal location (like about:...), // or has an invalid URL. - if (this->ui->url_bar->hasFocus() || + if (!kristall::options.fancy_urlbar || + this->ui->url_bar->hasFocus() || !url.isValid() || this->is_internal_location || mainWindow->settings_visible) -- cgit v1.2.3