Skip to content

Commit

Permalink
fixes ToListSelectionChangedEvent since now a selection option can be…
Browse files Browse the repository at this point in the history
… nil
  • Loading branch information
plantec committed Oct 9, 2024
1 parent bbfb3d1 commit 41aea1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Toplo-Widget-List/ToListSelectionChangedEvent.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ToListSelectionChangedEvent >> command: aCommand [
{ #category : #accessing }
ToListSelectionChangedEvent >> groupHolder [

^ selectionOption groupHolder
^ selectionOption ifNotNil: [ :so | so groupHolder ]
]

{ #category : #accessing }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ ToListSelectionElementEventHandler >> updateSelectionFromEvent: anEvent [
self differUpdateSelectionFrom: target.
^ self ].

anEvent groupHolder updateSelectionIn: target
anEvent groupHolder ifNotNil: [:gh | gh updateSelectionIn: target ]
]

0 comments on commit 41aea1e

Please sign in to comment.