mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2025-02-16 20:39:15 +01:00
Fix view popping and pushing
This commit is contained in:
parent
28aea581e7
commit
822f76b11b
@ -27,7 +27,7 @@ class ExitListener : public DialogueListener
|
||||
{
|
||||
if (selected != which->cancelIndex())
|
||||
exit(0);
|
||||
Gui::gui->popView();
|
||||
Gui::gui->popDialogueBox();
|
||||
delete this;
|
||||
}
|
||||
};
|
||||
@ -57,7 +57,6 @@ public:
|
||||
case 2: /* Load/save states */
|
||||
break;
|
||||
case 4: /* Keyboard */
|
||||
Gui::gui->pushView(Gui::gui->kv);
|
||||
Gui::gui->kv->activate();
|
||||
Gui::gui->kv->registerListener(new KeyboardTypingListener());
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user