From b858d3a24a30f279d16ee980acaa011a7b1786ee Mon Sep 17 00:00:00 2001 From: dmcoles Date: Wed, 10 Jul 2024 17:44:22 +0100 Subject: [PATCH] fix move into menu enabling/disabling --- rebuild.e | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rebuild.e b/rebuild.e index bddace1..a1b5272 100644 --- a/rebuild.e +++ b/rebuild.e @@ -476,8 +476,8 @@ PROC updateSel(node) menuDisable(win,MENU_EDIT,MENU_EDIT_MOVE,MENU_EDIT_MOVEBOTTOM,dismovedown) menuDisable(win,MENU_EDIT,MENU_EDIT_MOVE,MENU_EDIT_MOVELPREV,disprevgroup) menuDisable(win,MENU_EDIT,MENU_EDIT_MOVE,MENU_EDIT_MOVELNEXT,disnextgroup) - menuDisable(win,MENU_EDIT,MENU_EDIT_MOVEINTOLAYOUT_VERT,0,dismoveinto) - menuDisable(win,MENU_EDIT,MENU_EDIT_MOVEINTOLAYOUT_HORIZ,0,dismoveinto) + menuDisable(win,MENU_EDIT,MENU_EDIT_MOVE,MENU_EDIT_MOVEINTOLAYOUT_VERT,dismoveinto) + menuDisable(win,MENU_EDIT,MENU_EDIT_MOVE,MENU_EDIT_MOVEINTOLAYOUT_HORIZ,dismoveinto) dis:=(comp.parent=0) AND (allowchildren=FALSE) AND (comp.type<>TYPE_SCREEN) AND (comp.type<>TYPE_WINDOW) SetGadgetAttrsA(gMain_Gadgets[GAD_ADD],win,0,[GA_DISABLED,dis,TAG_END])