more fix of edit menu updates
This commit is contained in:
parent
1304a939c3
commit
0b028e41c6
|
@ -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,
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue