mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-25 21:14:22 +01:00
Quit
This commit is contained in:
parent
c10f7972fb
commit
8577acdc0c
@ -311,6 +311,8 @@ void Gui::pushEvent(SDL_Event *ev)
|
||||
|
||||
if (!this->is_active || !cur_view)
|
||||
return;
|
||||
if (ev->type == SDL_QUIT)
|
||||
exit(0);
|
||||
if (this->dlg)
|
||||
this->dlg->pushEvent(ev);
|
||||
else if (this->kbd)
|
||||
|
Loading…
Reference in New Issue
Block a user