# HG changeset patch # User Claus Gittinger # Date 1373747494 -7200 # Node ID 7372fb880713983887135bb74a0eca93e411a582 # Parent 7b394cc48096496ddb1b616d56df39c7c5e80f8d class: SelectionInTreeView changed: #selectionFromModel use asNilIfEmpty diff -r 7b394cc48096 -r 7372fb880713 SelectionInTreeView.st --- a/SelectionInTreeView.st Wed Jul 10 18:41:41 2013 +0200 +++ b/SelectionInTreeView.st Sat Jul 13 22:31:34 2013 +0200 @@ -1791,9 +1791,7 @@ ]. ]. - coll isEmpty ifTrue:[ - coll := nil - ]. + coll := coll asNilIfEmpty. ]. ]. self setSelection:coll @@ -2504,10 +2502,10 @@ !SelectionInTreeView class methodsFor:'documentation'! version - ^ '$Header: /cvs/stx/stx/libwidg2/SelectionInTreeView.st,v 1.117 2013-06-26 08:20:52 stefan Exp $' + ^ '$Header: /cvs/stx/stx/libwidg2/SelectionInTreeView.st,v 1.118 2013-07-13 20:31:34 cg Exp $' ! version_CVS - ^ '$Header: /cvs/stx/stx/libwidg2/SelectionInTreeView.st,v 1.117 2013-06-26 08:20:52 stefan Exp $' + ^ '$Header: /cvs/stx/stx/libwidg2/SelectionInTreeView.st,v 1.118 2013-07-13 20:31:34 cg Exp $' ! !