mirror of
https://github.com/stenzek/duckstation.git
synced 2024-11-26 23:50:31 +00:00
Qt: Fix empty device list when editing profile
This commit is contained in:
parent
8c4d595a89
commit
98cce645a9
@ -489,7 +489,7 @@ void ControllerSettingsWindow::createWidgets()
|
||||
m_ui.settingsContainer->addWidget(m_global_settings);
|
||||
connect(m_global_settings, &ControllerGlobalSettingsWidget::bindingSetupChanged, this,
|
||||
&ControllerSettingsWindow::createWidgets);
|
||||
if (isEditingGlobalSettings())
|
||||
if (!isEditingGameSettings())
|
||||
{
|
||||
for (const auto& [identifier, device_name] : m_device_list)
|
||||
m_global_settings->addDeviceToList(QString::fromStdString(identifier), QString::fromStdString(device_name));
|
||||
|
Loading…
Reference in New Issue
Block a user