# HG changeset patch # User Claus Gittinger # Date 1197385520 -3600 # Node ID b0c8d7acc69033844e8004d12358edfabd537dae # Parent c31fd43cbac3446c462cd812a4e80180fa7d6d32 UseViewScroller diff -r c31fd43cbac3 -r b0c8d7acc690 UIObjectView.st --- a/UIObjectView.st Tue Dec 11 16:05:09 2007 +0100 +++ b/UIObjectView.st Tue Dec 11 16:05:20 2007 +0100 @@ -1258,10 +1258,10 @@ self halt. ! -selection:something - "change selection to something - " - self select:something +selection:newSelection + "change selection to newSelection" + + self select:newSelection ! selectionDo:aBlock @@ -1371,12 +1371,12 @@ !UIObjectView methodsFor:'selections basic'! -setSelection:aNewSelection withRedraw:doRedraw - "set a new selection without change notifications - " +setSelection:newSelection withRedraw:doRedraw + "set a new selection without change notifications" + | sel | - (sel := aNewSelection) == self ifTrue:[ + (sel := newSelection) == self ifTrue:[ sel := nil ].