aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/savegame.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2007-03-17 16:08:29 +0000
committerTorbjörn Andersson2007-03-17 16:08:29 +0000
commit8a2529b2d6fa83efc0da64e4f7fc003d84b18a59 (patch)
tree91a8d7ac21da95d4f2750b0ea504f155afe7786c /engines/agi/savegame.cpp
parentcfe7ecd6d914026080698e5c6330a0ee1db6b8a9 (diff)
downloadscummvm-rg350-8a2529b2d6fa83efc0da64e4f7fc003d84b18a59.tar.gz
scummvm-rg350-8a2529b2d6fa83efc0da64e4f7fc003d84b18a59.tar.bz2
scummvm-rg350-8a2529b2d6fa83efc0da64e4f7fc003d84b18a59.zip
Allow synthetic events in dialog windows, e.g. so you can use keyboard repeat
when scrolling the list of savegames. svn-id: r26175
Diffstat (limited to 'engines/agi/savegame.cpp')
-rw-r--r--engines/agi/savegame.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/agi/savegame.cpp b/engines/agi/savegame.cpp
index a689c6a3ab..8a58d67f58 100644
--- a/engines/agi/savegame.cpp
+++ b/engines/agi/savegame.cpp
@@ -509,6 +509,8 @@ int AgiEngine::selectSlot() {
for (i = 0; i < 2; i++)
_gfx->drawButton(buttonX[i], buttonY, buttonText[i], 0, 0, MSG_BOX_TEXT, MSG_BOX_COLOUR);
+ AllowSyntheticEvents on(this);
+
for (;;) {
char dstr[64];
for (i = 0; i < NUM_VISIBLE_SLOTS; i++) {