diff options
| author | Matthias Melcher <github@matthiasm.com> | 2022-11-23 12:33:14 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-23 12:33:14 +0100 |
| commit | 35f2827d1f76468926c362d67eb992930c88853f (patch) | |
| tree | 049e78c0a3ddbf22ad09b5302e9cd3533d04e4d1 /src | |
| parent | 42b74919e5497630dd2e240a74379f86c015f730 (diff) | |
Keep indicator that menubar is still active (#551)
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Menu.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Fl_Menu.cxx b/src/Fl_Menu.cxx index 06a7e9278..f2d19a7a8 100644 --- a/src/Fl_Menu.cxx +++ b/src/Fl_Menu.cxx @@ -842,9 +842,10 @@ int menuwindow::handle_part1(int e) { return 1; } if (pp.current_item && pp.menu_number==0 && !pp.current_item->submenu()) { - if (e==FL_PUSH) + if (e==FL_PUSH) { pp.state = DONE_STATE; - setitem(0, -1, 0); + setitem(0, -1, 0); + } return 1; } // all others can stay selected |
