aboutsummaryrefslogtreecommitdiff
path: root/src/browsertab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/browsertab.cpp')
-rw-r--r--src/browsertab.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/browsertab.cpp b/src/browsertab.cpp
index 1446f20..549f41a 100644
--- a/src/browsertab.cpp
+++ b/src/browsertab.cpp
@@ -1138,7 +1138,8 @@ void BrowserTab::updateUrlBarStyle()
// or has an invalid URL.
if (this->ui->url_bar->hasFocus() ||
!url.isValid() ||
- this->is_internal_location)
+ this->is_internal_location ||
+ mainWindow->settings_visible)
{
// Disable styling
setLineEditTextFormat(this->ui->url_bar,