mirror of
https://github.com/fltk/fltk.git
synced 2026-05-09 21:06:51 +08:00
Fix Select/Hold Browser callback with FL_WHEN_CHANGED when mouse is dragged
This commit is contained in:
@@ -657,6 +657,10 @@ int Fl_Browser_::deselect(int docallbacks) {
|
||||
item_select(selection_, 0);
|
||||
redraw_line(selection_);
|
||||
selection_ = 0;
|
||||
if (docallbacks) {
|
||||
set_changed();
|
||||
do_callback(FL_REASON_CHANGED);
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user