mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-24 06:43:45 +01:00
Bugfixes
This commit is contained in:
1 parent
612dd6abed
commit
1353a9d73d
1 file changed
+3
-1
+3
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user