aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Menu.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/Menu.cc')
-rw-r--r--src/FbTk/Menu.cc1
1 files changed, 1 insertions, 0 deletions
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) &&