mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-07 12:05:52 +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)
|
void ControllerSettingsWindow::onCurrentProfileChanged(int index)
|
||||||
{
|
{
|
||||||
std::string profile_name;
|
switchProfile(m_ui.currentProfile->itemText(index).toStdString());
|
||||||
if (index > 0)
|
|
||||||
profile_name = m_ui.currentProfile->itemText(index).toStdString();
|
|
||||||
|
|
||||||
switchProfile(profile_name);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ControllerSettingsWindow::onNewProfileClicked()
|
void ControllerSettingsWindow::onNewProfileClicked()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user