When typing a path in Fl_File_Chooser, the enter key should select the file. STR #2910
This was originally changed in 1.1.8 by matt (r6092). The commit was about fixing multiple selection and had no mention of why the enter key behavior was changed not to work. STR #1913 Multiple selection still works. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10239 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
5613941a28
commit
c4b3a2d5d3
@ -221,7 +221,7 @@ Fl_File_Chooser::Fl_File_Chooser(const char *d, const char *p, int t, const char
|
||||
fileName->callback((Fl_Callback*)cb_fileName);
|
||||
fileName->when(FL_WHEN_ENTER_KEY);
|
||||
Fl_Group::current()->resizable(fileName);
|
||||
fileName->when(FL_WHEN_CHANGED | FL_WHEN_ENTER_KEY);
|
||||
fileName->when(FL_WHEN_CHANGED | FL_WHEN_ENTER_KEY_ALWAYS);
|
||||
} // Fl_File_Input* fileName
|
||||
{ Fl_Box* o = new Fl_Box(10, 310, 105, 25, "Filename:");
|
||||
o->labelfont(1);
|
||||
|
Loading…
Reference in New Issue
Block a user