aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
Diffstat (limited to 'scumm')
-rw-r--r--scumm/dialogs.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scumm/dialogs.cpp b/scumm/dialogs.cpp
index daa4d87044..3effb415ff 100644
--- a/scumm/dialogs.cpp
+++ b/scumm/dialogs.cpp
@@ -646,6 +646,7 @@ void ValueDisplayDialog::handleKeyDown(uint16 ascii, int keycode, int modifiers)
_timer = getMillis() + kDisplayDelay;
draw();
} else {
+ setResult(_value);
close();
}
}