Skip to content

Commit

Permalink
UI: Fix controller autoconf list result.
Browse files Browse the repository at this point in the history
  • Loading branch information
unknownbrackets committed Sep 20, 2022
1 parent 913ba9d commit d19138f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UI/ControlMappingScreen.cpp
Expand Up @@ -313,7 +313,7 @@ UI::EventReturn ControlMappingScreen::OnVisualizeMapping(UI::EventParams &params
}

void ControlMappingScreen::dialogFinished(const Screen *dialog, DialogResult result) {
if (result == DR_OK && dialog->tag() == "listpopup") {
if (result == DR_OK && std::string(dialog->tag()) == "listpopup") {
ListPopupScreen *popup = (ListPopupScreen *)dialog;
KeyMap::AutoConfForPad(popup->GetChoiceString());
}
Expand Down

0 comments on commit d19138f

Please sign in to comment.