aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2007-11-24 20:45:22 +0100
committerjcid <devnull@localhost>2007-11-24 20:45:22 +0100
commita35c7f28f7bb70cb86755d9df7a55e940dedc37f (patch)
tree22dde0ded3ef2708c531c18c8eea4a558f0a5cb7 /src
parentd57413d5a92a875aca6327fb227207a2eba95e81 (diff)
Fixed bindings for Space key in UI.
Diffstat (limited to 'src')
-rw-r--r--src/ui.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui.cc b/src/ui.cc
index 943a2409..a0f66c91 100644
--- a/src/ui.cc
+++ b/src/ui.cc
@@ -657,7 +657,8 @@ int UI::handle(int event)
// Let FLTK pass these events to child widgets.
if (event == KEY) {
- if (event_key() == UpKey || event_key() == DownKey)
+ if (event_key() == UpKey || event_key() == DownKey ||
+ event_key() == SpaceKey)
return 0;
}
@@ -693,7 +694,7 @@ int UI::handle(int event)
ret = 1;
}
- // Back and Forward shortcuts
+ // Back and Forward navigation shortcuts
if ((!event_state(SHIFT) && event_key() == BackSpaceKey) ||
event_key() == ',') {
a_UIcmd_back(user_data());