diff --git a/basis/ui/gadgets/panes/panes.factor b/basis/ui/gadgets/panes/panes.factor index 2c5ed596ac..6f68c32ff0 100644 --- a/basis/ui/gadgets/panes/panes.factor +++ b/basis/ui/gadgets/panes/panes.factor @@ -397,8 +397,8 @@ M: f sloppy-pick-up* ] [ drop ] if ; : end-selection ( pane -- ) - f >>selecting? - hand-moved? + dup selecting?>> hand-moved? or + [ f >>selecting? ] dip [ [ com-copy-selection ] [ request-focus ] bi ] [ [ relayout-1 ] [ focus-input ] bi ] if ;