mirror of
https://github.com/rkd77/elinks.git
synced 2024-06-30 01:55:30 +00:00
Fix: redraw main menu when one cancels it by clicking outside menu space.
This commit is contained in:
parent
ef37161070
commit
3e4bf0cf27
|
@ -1070,6 +1070,8 @@ mainmenu_mouse_handler(struct menu *menu, struct term_event *ev)
|
||||||
if (ev->info.mouse.y) {
|
if (ev->info.mouse.y) {
|
||||||
if (check_mouse_action(ev, B_DOWN)) {
|
if (check_mouse_action(ev, B_DOWN)) {
|
||||||
deselect_mainmenu(win->term, menu);
|
deselect_mainmenu(win->term, menu);
|
||||||
|
display_mainmenu(win->term, menu);
|
||||||
|
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user