This commit is contained in:
simon.kagstrom 2010-01-30 09:19:41 +00:00
parent c10f7972fb
commit 8577acdc0c

View File

@ -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)