File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -94,6 +94,7 @@ OpenRGBSettingsPage::OpenRGBSettingsPage(QWidget *parent) :
9494 \*---------------------------------------------------------*/
9595 json ui_settings = ResourceManager::get ()->GetSettingsManager ()->GetSettings (" UserInterface" );
9696
97+ ui->ComboBoxLanguage ->blockSignals (true );
9798 if (ui_settings.contains (" language" ))
9899 {
99100 /* -----------------------------------------------------*\
@@ -116,6 +117,12 @@ OpenRGBSettingsPage::OpenRGBSettingsPage(QWidget *parent) :
116117 ui->ComboBoxLanguage ->setCurrentIndex (0 );
117118 }
118119
120+ /* ---------------------------------------------------------*\
121+ | Explicitly load the current selected language |
122+ \*---------------------------------------------------------*/
123+ on_ComboBoxLanguage_currentTextChanged (ui->ComboBoxLanguage ->currentText ());
124+ ui->ComboBoxLanguage ->blockSignals (false );
125+
119126 if (ui_settings.contains (" greyscale_tray_icon" ))
120127 {
121128 ui->CheckboxTrayIconGreyscale ->setChecked (ui_settings[" greyscale_tray_icon" ]);
You can’t perform that action at this time.
0 commit comments