mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Add a warning to control autoconfigure
This commit is contained in:
1 parent
6016a02010
commit
756d161070
51 files changed
+78
-4
No files matched your search
@@ -302,7 +302,9 @@ void ControlMappingScreen::OnAutoConfigure(UI::EventParams ¶ms) {
|
||||
items.push_back(*s);
|
||||
}
|
||||
auto km = GetI18NCategory(I18NCat::KEYMAPPING);
|
||||
auto di = GetI18NCategory(I18NCat::DIALOG);
|
||||
UI::ListPopupScreen *autoConfList = new UI::ListPopupScreen(km->T("Autoconfigure for device"), items, -1);
|
||||
autoConfList->SetNotification(NoticeLevel::WARN, di->T("This will overwrite the existing configuration"));
|
||||
if (params.v)
|
||||
autoConfList->SetPopupOrigin(params.v);
|
||||
screenManager()->push(autoConfList);
|
||||
|
||||
Reference in new issue
Block a user