[squeak-dev] The Trunk: ToolBuilder-Morphic-mt.160.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Mar 30 13:57:09 UTC 2016


Marcel Taeumel uploaded a new version of ToolBuilder-Morphic to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Morphic-mt.160.mcz

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

Name: ToolBuilder-Morphic-mt.160
Author: mt
Time: 30 March 2016, 3:57:02.584647 pm
UUID: c90bb584-3c2d-4eaf-9a84-b6658026e00c
Ancestors: ToolBuilder-Morphic-kfr.159

Fixes bug where dropping into filtered lists passed the wrong index to the model.

=============== Diff against ToolBuilder-Morphic-kfr.159 ===============

Item was changed:
  ----- Method: PluggableListMorphPlus>>acceptDroppingMorph:event: (in category 'drag and drop') -----
  acceptDroppingMorph: aTransferMorph event: evt
  
  	dropItemSelector ifNil: [^ self].
  	potentialDropRow ifNil: [^ self].
  	
  	model
  		perform: dropItemSelector
  		withEnoughArguments: {
  			aTransferMorph passenger.
+ 			self modelIndexFor: potentialDropRow.
- 			potentialDropRow.
  			aTransferMorph shouldCopy.
  			aTransferMorph}.
  			
  	self resetPotentialDropRow.
  	evt hand releaseMouseFocus: self.
  	Cursor normal show.
  !



More information about the Squeak-dev mailing list