diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Menu.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Fl_Menu.cxx b/src/Fl_Menu.cxx index ea909bbf4..4e860e396 100644 --- a/src/Fl_Menu.cxx +++ b/src/Fl_Menu.cxx @@ -613,7 +613,10 @@ int menuwindow::handle(int e) { case FL_RELEASE: // do nothing if they try to pick inactive items if (pp.current_item && !pp.current_item->activevisible()) { - pp.state = DONE_STATE; + if (pp.state==INITIAL_STATE) { + setitem(0, -1, 0); + pp.state = DONE_STATE; + } return 1; } // Mouse must either be held down/dragged some, or this must be |
