diff --git a/FL/Fl_Multi_Browser.H b/FL/Fl_Multi_Browser.H index 0f33a3d6f..8774fd713 100644 --- a/FL/Fl_Multi_Browser.H +++ b/FL/Fl_Multi_Browser.H @@ -29,8 +29,10 @@ which lets the user select any set of the lines. The user interface is Macintosh style: clicking an item turns off all the others and selects that one, dragging selects all the items the mouse moves over, - and shift + click toggles the items. This is different then how forms - did it. Normally the callback is done when the user releases the + and ctrl + click (Cmd+click on the Mac OS platform) toggles the items. + Shift + click extends the selection until the clicked item. + This is different from how forms did it. + Normally the callback is done when the user releases the mouse, but you can change this with when().

See Fl_Browser for methods to add and remove lines from the browser. */ diff --git a/src/Fl_Browser_.cxx b/src/Fl_Browser_.cxx index caa3a0264..a85fc0153 100644 --- a/src/Fl_Browser_.cxx +++ b/src/Fl_Browser_.cxx @@ -813,7 +813,7 @@ J1: } else { void* l = find_item(my); whichway = 1; - if (Fl::event_state(FL_CTRL)) { // toggle selection: + if (Fl::event_state(FL_COMMAND)) { // toggle selection: TOGGLE: if (l) { whichway = !item_selected(l);