Qt: Fix crash when disconnecting controller which isn't last in list

This commit is contained in:
Connor McLaughlin 2022-01-31 22:31:25 +10:00 committed by refractionpcsx2
parent 0e83c992c3
commit 50735567c9
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ void ControllerGlobalSettingsWidget::removeDeviceFromList(const QString& identif
continue; continue;
delete m_ui.deviceList->takeItem(i); delete m_ui.deviceList->takeItem(i);
break;
} }
} }