summaryrefslogtreecommitdiff
path: root/src/Fl_File_Chooser2.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2003-11-01 01:49:35 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2003-11-01 01:49:35 +0000
commit5d135b3928e770b88b6a42ebf901684b8196f60b (patch)
tree828862a8acb9465f21300b0389330c6ec1c757a6 /src/Fl_File_Chooser2.cxx
parentc8c675fb4b4640390b7dbda33ff37d2154daed2d (diff)
The keypad Enter key works as the normal Enter/Return key in
common widgets (STR #191) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3117 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_File_Chooser2.cxx')
-rw-r--r--src/Fl_File_Chooser2.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl_File_Chooser2.cxx b/src/Fl_File_Chooser2.cxx
index ce1c5d25c..6f1179223 100644
--- a/src/Fl_File_Chooser2.cxx
+++ b/src/Fl_File_Chooser2.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_File_Chooser2.cxx,v 1.1.2.32 2003/09/03 19:38:01 easysw Exp $"
+// "$Id: Fl_File_Chooser2.cxx,v 1.1.2.33 2003/11/01 01:49:35 easysw Exp $"
//
// More Fl_File_Chooser routines.
//
@@ -488,7 +488,7 @@ Fl_File_Chooser::fileNameCB()
filename = pathname;
// Now process things according to the key pressed...
- if (Fl::event_key() == FL_Enter)
+ if (Fl::event_key() == FL_Enter || Fl::event_key() == FL_KP_Enter)
{
// Enter pressed - select or change directory...
#if (defined(WIN32) && ! defined(__CYGWIN__)) || defined(__EMX__)
@@ -1163,5 +1163,5 @@ unquote_pathname(char *dst, // O - Destination string
//
-// End of "$Id: Fl_File_Chooser2.cxx,v 1.1.2.32 2003/09/03 19:38:01 easysw Exp $".
+// End of "$Id: Fl_File_Chooser2.cxx,v 1.1.2.33 2003/11/01 01:49:35 easysw Exp $".
//