diff options
author | jcid <devnull@localhost> | 2007-11-24 20:45:22 +0100 |
---|---|---|
committer | jcid <devnull@localhost> | 2007-11-24 20:45:22 +0100 |
commit | a35c7f28f7bb70cb86755d9df7a55e940dedc37f (patch) | |
tree | 22dde0ded3ef2708c531c18c8eea4a558f0a5cb7 | |
parent | d57413d5a92a875aca6327fb227207a2eba95e81 (diff) |
Fixed bindings for Space key in UI.
-rw-r--r-- | src/ui.cc | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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()); |