UI: Fix controller autoconf list result.

This commit is contained in:
Unknown W. Brackets
2022-09-20 11:12:55 -07:00
parent 913ba9de88
commit d19138f157
+1 -1
View File
@@ -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());
}