[VW 7.5] [Bug] MultiSelectionTreeView>>updateModelSelecting:

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

[VW 7.5] [Bug] MultiSelectionTreeView>>updateModelSelecting:

Stew MacLean

updateModelSelecting: anArrayOrAnIndexOrNil

 

            "This method is new in VW 7.5, but the argument doesn't conform to super.

            Add test so that it does. 22/05/07 SIM."

 

            (anArrayOrAnIndexOrNil notNil

            and: [(anArrayOrAnIndexOrNil isKindOf: Collection)

            and: [anArrayOrAnIndexOrNil notEmpty

            and: [anArrayOrAnIndexOrNil first isEmpty]]])

                        ifTrue: [^self updateModel].

            super updateModelSelecting: anArrayOrAnIndexOrNil