Skip to content

Commit

Permalink
tree: Reverted changes to condition for delete button
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-p committed Dec 24, 2017
1 parent ad1f103 commit 44afc36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basis/ui/tools/environment/tree/tree.factor
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ M:: tree-toolbar model-changed ( model tree-toolbar -- )
<gadget> add-gadget
[ bottom-node? not ] red-background "⇓" [ replace-parent ]
"Replace cell below ( Control R )" add-button
[ { [ top-node? ] [ bottom-node? ] [ leftmost-node? ] [ rightmost-node? ] } 1&& not ]
[ drop t ]
red-background "✕" [ remove-element ]
"Delete cell and everything above ( Control D )" add-button
] when drop ;
Expand Down

0 comments on commit 44afc36

Please sign in to comment.