mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-22 18:15:14 +00:00
qt: fix gui emulatorLanguage
This commit is contained in:
parent
b68ca43166
commit
715ea44399
@ -437,7 +437,7 @@ void SettingsDialog::LoadValuesFromConfig() {
|
|||||||
toml::find_or<int>(data, "Settings", "consoleLanguage", 6))) %
|
toml::find_or<int>(data, "Settings", "consoleLanguage", 6))) %
|
||||||
languageIndexes.size());
|
languageIndexes.size());
|
||||||
ui->emulatorLanguageComboBox->setCurrentIndex(
|
ui->emulatorLanguageComboBox->setCurrentIndex(
|
||||||
languages[toml::find_or<std::string>(data, "GUI", "emulatorLanguage", "en_US")]);
|
languages[m_gui_settings->GetValue(gui::gen_guiLanguage).toString().toStdString()]);
|
||||||
ui->hideCursorComboBox->setCurrentIndex(toml::find_or<int>(data, "Input", "cursorState", 1));
|
ui->hideCursorComboBox->setCurrentIndex(toml::find_or<int>(data, "Input", "cursorState", 1));
|
||||||
OnCursorStateChanged(toml::find_or<int>(data, "Input", "cursorState", 1));
|
OnCursorStateChanged(toml::find_or<int>(data, "Input", "cursorState", 1));
|
||||||
ui->idleTimeoutSpinBox->setValue(toml::find_or<int>(data, "Input", "cursorHideTimeout", 5));
|
ui->idleTimeoutSpinBox->setValue(toml::find_or<int>(data, "Input", "cursorHideTimeout", 5));
|
||||||
|
Loading…
Reference in New Issue
Block a user