qt: For device config dialogs, default to the settings dialog as the parent
Fixes (somehow) controls being non-interactable when no parent dialog is passed and 86Box is running in settings-only mode
This commit is contained in:
@@ -274,7 +274,7 @@ void
|
||||
SettingsInput::on_pushButtonConfigureMouse_clicked()
|
||||
{
|
||||
int mouseId = ui->comboBoxMouse->currentData().toInt();
|
||||
DeviceConfig::ConfigureDevice(mouse_get_device(mouseId), 0, qobject_cast<Settings *>(Settings::settings));
|
||||
DeviceConfig::ConfigureDevice(mouse_get_device(mouseId));
|
||||
}
|
||||
|
||||
static int
|
||||
|
||||
Reference in New Issue
Block a user