summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2013-05-12 20:14:29 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2013-05-12 20:36:46 +0100
commit0b028e41c6ff7c13d2e00bfa03c7c908234a629b (patch)
tree9ae63e955951d749d8fd98dca07123bd15f020e7
parent1304a939c35e44f121159b87d1ab9b2883b86b85 (diff)
downloadnetsurf-0b028e41c6ff7c13d2e00bfa03c7c908234a629b.tar.gz
netsurf-0b028e41c6ff7c13d2e00bfa03c7c908234a629b.tar.bz2
more fix of edit menu updates
-rw-r--r--amiga/context_menu.c2
-rw-r--r--desktop/selection.c1
2 files changed, 2 insertions, 1 deletions
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 */