mirror of https://github.com/PCSX2/pcsx2.git
Qt: Fix global string list setting not showing in input profiles
This commit is contained in:
parent
749f225562
commit
3f4f9ad5f1
|
@ -636,7 +636,7 @@ void ControllerCustomSettingsWidget::createSettingWidgets(const char* translatio
|
||||||
else if (si.options)
|
else if (si.options)
|
||||||
{
|
{
|
||||||
for (u32 i = 0; si.options[i] != nullptr; i++)
|
for (u32 i = 0; si.options[i] != nullptr; i++)
|
||||||
cb->addItem(qApp->translate(translation_ctx, si.options[i]));
|
cb->addItem(qApp->translate(translation_ctx, si.options[i]), QString::fromUtf8(si.options[i]));
|
||||||
}
|
}
|
||||||
SettingWidgetBinder::BindWidgetToStringSetting(sif, cb, m_config_section, std::move(key_name), si.StringDefaultValue());
|
SettingWidgetBinder::BindWidgetToStringSetting(sif, cb, m_config_section, std::move(key_name), si.StringDefaultValue());
|
||||||
layout->addWidget(new QLabel(qApp->translate(translation_ctx, si.display_name), widget_parent), current_row, 0);
|
layout->addWidget(new QLabel(qApp->translate(translation_ctx, si.display_name), widget_parent), current_row, 0);
|
||||||
|
|
Loading…
Reference in New Issue