summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index e8fe26cb..74a2fe13 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -770,6 +770,7 @@ int main(int argc, char *argv[])
case SDL_KEYDOWN:
if (event.key.keysym.sym == SDLK_ESCAPE)
+ {
if (!quitDialog)
{
quitDialog = new QuitDialog(NULL, &quitDialog);
@@ -778,6 +779,7 @@ int main(int argc, char *argv[])
{
quitDialog->requestMoveToTop();
}
+ }
break;
}