Keep indicator that menubar is still active (#551)

This commit is contained in:
Matthias Melcher 2022-11-23 12:33:14 +01:00 committed by GitHub
parent 42b74919e5
commit 35f2827d1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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