Update the edit menu after every click, to be safe.

This commit is contained in:
Chris Young 2013-05-12 20:22:34 +01:00
parent 0b028e41c6
commit 6d7adac89e
2 changed files with 2 additions and 1 deletions

View File

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

View File

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