diff options
author | fearlessTobi <thm.frey@gmail.com> | 2018-07-29 14:37:18 +0200 |
---|---|---|
committer | fearlessTobi <thm.frey@gmail.com> | 2018-07-29 14:37:18 +0200 |
commit | b97739029be5c4b06b8336ebf0a4b1f25db68647 (patch) | |
tree | a2efbba82071646fe8c79087fa9c1d424787d3fb /src/yuzu/main.cpp | |
parent | Merge pull request #847 from lioncash/ncm (diff) | |
download | yuzu-b97739029be5c4b06b8336ebf0a4b1f25db68647.tar yuzu-b97739029be5c4b06b8336ebf0a4b1f25db68647.tar.gz yuzu-b97739029be5c4b06b8336ebf0a4b1f25db68647.tar.bz2 yuzu-b97739029be5c4b06b8336ebf0a4b1f25db68647.tar.lz yuzu-b97739029be5c4b06b8336ebf0a4b1f25db68647.tar.xz yuzu-b97739029be5c4b06b8336ebf0a4b1f25db68647.tar.zst yuzu-b97739029be5c4b06b8336ebf0a4b1f25db68647.zip |
Diffstat (limited to '')
-rw-r--r-- | src/yuzu/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 96998643e..809670c7a 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -723,10 +723,12 @@ void GMainWindow::ToggleWindowMode() { void GMainWindow::OnConfigure() { ConfigureDialog configureDialog(this); + auto old_theme = UISettings::values.theme; auto result = configureDialog.exec(); if (result == QDialog::Accepted) { configureDialog.applyConfiguration(); - UpdateUITheme(); + if (UISettings::values.theme != old_theme) + UpdateUITheme(); config->Save(); } } |