Skip to content

Commit

Permalink
fix move into menu enabling/disabling
Browse files Browse the repository at this point in the history
  • Loading branch information
dmcoles committed Jul 10, 2024
1 parent 09612b0 commit b858d3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rebuild.e
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit b858d3a

Please sign in to comment.