From 8a2529b2d6fa83efc0da64e4f7fc003d84b18a59 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sat, 17 Mar 2007 16:08:29 +0000 Subject: Allow synthetic events in dialog windows, e.g. so you can use keyboard repeat when scrolling the list of savegames. svn-id: r26175 --- engines/agi/savegame.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/agi/savegame.cpp') 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++) { -- cgit v1.2.3