Fix theme options in project manager incorrectly using translated text

This commit is contained in:
Lanza 2025-01-14 10:32:24 +08:00 committed by GitHub
parent b3a44e8d51
commit 554d419836
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -97,6 +97,7 @@ void QuickSettingsDialog::_update_current_values() {
if (current_theme == theme_value) { if (current_theme == theme_value) {
theme_option_button->set_text(current_theme); theme_option_button->set_text(current_theme);
theme_option_button->select(i); theme_option_button->select(i);
theme_option_button->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
custom_theme_label->set_visible(current_theme == "Custom"); custom_theme_label->set_visible(current_theme == "Custom");
} }