mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-26 00:45:49 +00:00
Bugfixes
This commit is contained in:
parent
612dd6abed
commit
1353a9d73d
@ -155,8 +155,10 @@ void ListPopupScreen::CreatePopupContents(UI::ViewGroup *parent) {
|
||||
|
||||
UI::EventReturn ListPopupScreen::OnListChoice(UI::EventParams &e) {
|
||||
adaptor_.SetSelected(e.a);
|
||||
callback_(adaptor_.GetSelected());
|
||||
if (callback_)
|
||||
callback_(adaptor_.GetSelected());
|
||||
screenManager()->finishDialog(this, DR_OK);
|
||||
OnCompleted();
|
||||
OnChoice.Dispatch(e);
|
||||
return UI::EVENT_DONE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user