Skip to content

Commit

Permalink
Qt: Fix editing first controller preset
Browse files Browse the repository at this point in the history
stenzek committed Jan 11, 2025

Verified

This commit was signed with the committer’s verified signature.
reneme René Meusel
1 parent c43533f commit ce06896
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/duckstation-qt/controllersettingswindow.cpp
Original file line number Diff line number Diff line change
@@ -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()

0 comments on commit ce06896

Please sign in to comment.