Fix some more presentation issues

This commit is contained in:
Henrik Rydgård committed 2024-10-22 12:29:32 +02:00
1 parent a859b2223a
commit 3a4b27b086
6 files changed
+18 -3

No files matched your search

+1 -1
View File
@@ -343,7 +343,7 @@ UI::EventReturn ControlMappingScreen::OnAutoConfigure(UI::EventParams &params) {
}
void ControlMappingScreen::dialogFinished(const Screen *dialog, DialogResult result) {
if (result == DR_OK && std::string(dialog->tag()) == "listpopup") {
if (result == DR_OK && !strcmp(dialog->tag(), "listpopup")) {
UI::ListPopupScreen *popup = (UI::ListPopupScreen *)dialog;
KeyMap::AutoConfForPad(popup->GetChoiceString());
}