From 6d7adac89ebc86a559a72bd91ec72f2e3d3bd568 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 12 May 2013 20:22:34 +0100 Subject: [PATCH] Update the edit menu after every click, to be safe. --- amiga/gui.c | 2 ++ desktop/selection.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/amiga/gui.c b/amiga/gui.c index 97e45e54b..68b51d34b 100644 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -1591,6 +1591,8 @@ void ami_handle_msg(void) } gwin->prev_mouse_state = gwin->mouse_state; gwin->mouse_state=0; + + ami_menu_update_disabled(gwin->bw->window, gwin->bw->current_content); break; case MIDDLEUP: diff --git a/desktop/selection.c b/desktop/selection.c index 280edcd2e..13a1293e3 100644 --- a/desktop/selection.c +++ b/desktop/selection.c @@ -283,7 +283,6 @@ bool selection_click(struct selection *s, browser_mouse_state mouse, * selection, Otherwise clear on release (to allow for drags) */ selection_clear(s, true); - gui_clear_selection(top->window); } else if (mouse & BROWSER_MOUSE_DRAG_1) { /* start new selection drag */