aboutsummaryrefslogtreecommitdiff
path: root/src/main.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/main.cpp
parent05df68b1331dbfdf9aff98139a9a1f96f147e651 (diff)
downloadkristall-90e20d2c047ae1d9527e15267e62dbc8349e7bb3.tar.gz
Get rid of unneeded hacky code for fancy url bar
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index ce64040..a953411 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -460,6 +460,9 @@ void kristall::setTheme(Theme theme)
kristall::options.fancy_urlbar_dim_colour = QColor(150, 150, 150, 255);
}
+
+ if (main_window && main_window->curTab())
+ main_window->curTab()->updateUrlBarStyle();
}
void kristall::setUiDensity(UIDensity density, bool previewing)