UIPainterView.st
changeset 760 ca9488ba9876
parent 758 1370f99f4c09
child 768 2ef5b8bed914
equal deleted inserted replaced
759:f0c325edcc6c 760:ca9488ba9876
  1233 !
  1233 !
  1234 
  1234 
  1235 select:something
  1235 select:something
  1236     "change selection to something
  1236     "change selection to something
  1237     "
  1237     "
  1238     (self enabled and:[something ~= self selection]) ifTrue:[
  1238     (self enabled and:[something ~= self selection]) ifTrue:[   
  1239         treeView cvsSelection:something.
  1239         something isNil 
  1240         self setSelection:something withRedraw:true.
  1240             ifTrue: [treeView selection: (Array with: 1)]
       
  1241             ifFalse:[treeView cvsSelection:something].
       
  1242         self setSelection:something withRedraw:true
  1241     ]
  1243     ]
  1242 
  1244 
  1243 !
  1245 !
  1244 
  1246 
  1245 updateSelectionFromModel:aSelOrNil
  1247 updateSelectionFromModel:aSelOrNil