attempt fix cut disable on context menu

This commit is contained in:
Chris Young 2013-05-12 19:48:14 +01:00
parent 32df2bebdd
commit 57e5f7d89a

View File

@ -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, disabled_noselection && disabled_readonly,
PMIA_Disabled, !(browser_window_get_editor_flags(bw) & BW_EDITOR_CAN_PASTE),
PMIA_CommKey, "X",
TAG_DONE),
PMA_AddItem,NewObject(POPUPMENU_GetItemClass(), NULL,