mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-07 03:55:33 +00:00
Qt: Fix editing first controller preset
This commit is contained in:
parent
c43533f8d8
commit
ce0689687c
@ -162,11 +162,7 @@ void ControllerSettingsWindow::onCategoryCurrentRowChanged(int row)
|
||||
|
||||
void ControllerSettingsWindow::onCurrentProfileChanged(int index)
|
||||
{
|
||||
std::string profile_name;
|
||||
if (index > 0)
|
||||
profile_name = m_ui.currentProfile->itemText(index).toStdString();
|
||||
|
||||
switchProfile(profile_name);
|
||||
switchProfile(m_ui.currentProfile->itemText(index).toStdString());
|
||||
}
|
||||
|
||||
void ControllerSettingsWindow::onNewProfileClicked()
|
||||
|
Loading…
x
Reference in New Issue
Block a user