[Pkg] The Trunk: ToolBuilder-Morphic-mt.96.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Mar 7 11:24:59 UTC 2015

Marcel Taeumel uploaded a new version of ToolBuilder-Morphic to project The Trunk:

==================== Summary ====================

Name: ToolBuilder-Morphic-mt.96
Author: mt
Time: 7 March 2015, 12:24:54.258 pm
UUID: 1fd5e40f-e940-cd43-a5b2-29f67a38e5e4
Ancestors: ToolBuilder-Morphic-mt.95

Fixes current selection where model objects looked the same but where not identical.

=============== Diff against ToolBuilder-Morphic-mt.95 ===============

Item was changed:
  ----- Method: PluggableTreeMorph>>getCurrentSelectionItem (in category 'selection') -----
  	"Our models are supposed to return real objects, not wrappers. See PluggableTreeItemNode."
  	| selectedObject |
  	selectedObject := self getSelectedSelector
  		ifNil: [^ nil]
  		ifNotNil: [:symbol | model perform: symbol].
  	^ scroller submorphs
+ 		detect: [:each | each complexContents item == selectedObject]
- 		detect: [:each | each complexContents item = selectedObject]
  		ifFound: [:each | each complexContents]
  		ifNone: [nil]!

More information about the Packages mailing list