summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeve1227 <killenlillen02@gmail.com>2023-06-03 17:17:03 +0200
committerKeve1227 <killenlillen02@gmail.com>2023-06-03 17:17:03 +0200
commit27313fe576fdab68009b4e051a95df4e4e912e5a (patch)
treece17b6b0dc4d0acbabd12ed536b6944080ef1fd1
parentPick game icon based on the configured system language (diff)
downloadyuzu-27313fe576fdab68009b4e051a95df4e4e912e5a.tar
yuzu-27313fe576fdab68009b4e051a95df4e4e912e5a.tar.gz
yuzu-27313fe576fdab68009b4e051a95df4e4e912e5a.tar.bz2
yuzu-27313fe576fdab68009b4e051a95df4e4e912e5a.tar.lz
yuzu-27313fe576fdab68009b4e051a95df4e4e912e5a.tar.xz
yuzu-27313fe576fdab68009b4e051a95df4e4e912e5a.tar.zst
yuzu-27313fe576fdab68009b4e051a95df4e4e912e5a.zip
-rw-r--r--src/yuzu/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 82bce9a3a..145fea5f1 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -3491,6 +3491,7 @@ void GMainWindow::ResetWindowSize1080() {
void GMainWindow::OnConfigure() {
const auto old_theme = UISettings::values.theme;
const bool old_discord_presence = UISettings::values.enable_discord_presence.GetValue();
+ const auto old_language_index = Settings::values.language_index.GetValue();
Settings::SetConfiguringGlobal(true);
ConfigureDialog configure_dialog(this, hotkey_registry, input_subsystem.get(), *system,
@@ -3559,7 +3560,7 @@ void GMainWindow::OnConfigure() {
emit UpdateThemedIcons();
const auto reload = UISettings::values.is_game_list_reload_pending.exchange(false);
- if (reload) {
+ if (reload || Settings::values.language_index.GetValue() != old_language_index) {
game_list->PopulateAsync(UISettings::values.game_dirs);
}