diff options
| author | Mike Skec <skec@protonmail.ch> | 2020-12-31 16:48:22 +1100 |
|---|---|---|
| committer | Felix Queißner <felix@ib-queissner.de> | 2020-12-31 10:57:55 +0100 |
| commit | 0ab1c12b436f4363d03ace1420b91cba1b9b0d50 (patch) | |
| tree | ce6bcd003eb3be699340b831813b3e92c33526df /src/browsertab.cpp | |
| parent | 8f1de0d980deeeb6e697548ff0ae62d1eee662b8 (diff) | |
| download | kristall-0ab1c12b436f4363d03ace1420b91cba1b9b0d50.tar.gz | |
Prevents URL bar styles appearing strange in settings dialog after changing theme.
do this by removing style while settings window is open
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 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, |
