diff options
| author | Mike Skec <skec@protonmail.ch> | 2020-12-31 17:14:33 +1100 |
|---|---|---|
| committer | Felix Queißner <felix@ib-queissner.de> | 2020-12-31 10:57:55 +0100 |
| commit | 40df924bc7289155a21a7c4ee901fc7c5e1673bd (patch) | |
| tree | 112fce9c3d4598a1e10db2ba7bcc8fbf92bb1e91 /src/browsertab.cpp | |
| parent | 0ab1c12b436f4363d03ace1420b91cba1b9b0d50 (diff) | |
| download | kristall-40df924bc7289155a21a7c4ee901fc7c5e1673bd.tar.gz | |
Add preference for url bar styling
Diffstat (limited to 'src/browsertab.cpp')
| -rw-r--r-- | src/browsertab.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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) |
