UI: Make popups transition their button.

This commit is contained in:
Unknown W. Brackets committed 2017-03-21 18:45:49 -07:00
1 parent 4fb8ac96ce
commit 07d2b4fb46
7 files changed
+57 -11

No files matched your search

+2
View File
@@ -266,6 +266,8 @@ UI::EventReturn ControlMappingScreen::OnAutoConfigure(UI::EventParams &params) {
}
I18NCategory *km = GetI18NCategory("KeyMapping");
ListPopupScreen *autoConfList = new ListPopupScreen(km->T("Autoconfigure for device"), items, -1);
if (params.v)
autoConfList->SetPopupOrigin(params.v);
screenManager()->push(autoConfList);
return UI::EVENT_DONE;
}