From 0b028e41c6ff7c13d2e00bfa03c7c908234a629b Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 12 May 2013 20:14:29 +0100 Subject: more fix of edit menu updates --- amiga/context_menu.c | 2 +- desktop/selection.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/amiga/context_menu.c b/amiga/context_menu.c index b8ebf5ee9..c6c9be899 100644 --- a/amiga/context_menu.c +++ b/amiga/context_menu.c @@ -485,7 +485,7 @@ void ami_context_menu_add_submenu(Object *ctxmenuobj, ULONG cmsub, void *userdat PMA_AddItem,NewObject(POPUPMENU_GetItemClass(), NULL, PMIA_Title, (ULONG)ctxmenulab[CMID_SELCUT], PMIA_ID,CMID_SELCUT, - PMIA_Disabled, !(browser_window_get_editor_flags(bw) & BW_EDITOR_CAN_PASTE), + PMIA_Disabled, !(browser_window_get_editor_flags(bw) & BW_EDITOR_CAN_CUT), PMIA_CommKey, "X", TAG_DONE), PMA_AddItem,NewObject(POPUPMENU_GetItemClass(), NULL, diff --git a/desktop/selection.c b/desktop/selection.c index 13a1293e3..280edcd2e 100644 --- a/desktop/selection.c +++ b/desktop/selection.c @@ -283,6 +283,7 @@ 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 */ -- cgit v1.2.3