aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/newgui.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp
index f1292d49bc..f45f599e44 100644
--- a/gui/newgui.cpp
+++ b/gui/newgui.cpp
@@ -190,6 +190,9 @@ void NewGui::runLoop() {
case OSystem::EVENT_WHEELDOWN:
activeDialog->handleMouseWheel(event.mouse.x - activeDialog->_x, event.mouse.y - activeDialog->_y, 1);
break;
+ case OSystem::EVENT_QUIT:
+ _system->quit();
+ break;
}
}