diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | src/FbTk/Menu.cc | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -1,5 +1,7 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 1.0rc3: | 2 | Changes for 1.0rc3: |
3 | * Added support for keypad enter key in menu (Mark) | ||
4 | FbTk/Menu.cc | ||
3 | *07/02/28: | 5 | *07/02/28: |
4 | * Fixed some strange menu behaviors (Mark) | 6 | * Fixed some strange menu behaviors (Mark) |
5 | FbTk/Menu.cc/hh | 7 | FbTk/Menu.cc/hh |
diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc index cb401fa..e72b750 100644 --- a/src/FbTk/Menu.cc +++ b/src/FbTk/Menu.cc | |||
@@ -1038,6 +1038,7 @@ void Menu::keyPressEvent(XKeyEvent &event) { | |||
1038 | case XK_Escape: // close menu | 1038 | case XK_Escape: // close menu |
1039 | hide(); | 1039 | hide(); |
1040 | break; | 1040 | break; |
1041 | case XK_KP_Enter: | ||
1041 | case XK_Return: | 1042 | case XK_Return: |
1042 | // send fake button 1 click | 1043 | // send fake button 1 click |
1043 | if (validIndex(m_active_index) && | 1044 | if (validIndex(m_active_index) && |