The Trunk: ToolBuilder-Morphic-mt.160.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: ToolBuilder-Morphic-mt.160.mcz

commits-2
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.
  !


Reply | Threaded
Open this post in threaded view
|

Re: The Trunk: ToolBuilder-Morphic-mt.160.mcz

Chris Muller-3
Thank you!!  My guess is this will fix the bug where, when I drag a
class to a new package-category (of a filtered list), it will put it
in the one I dragged it to..

On Wed, Mar 30, 2016 at 8:57 AM,  <[hidden email]> wrote:

> 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.
>   !
>
>