Skip to content

Commit

Permalink
Merge pull request #1673 from pharo-spec/fix-issue-1663-2
Browse files Browse the repository at this point in the history
fixes 1663
  • Loading branch information
estebanlm authored Nov 27, 2024
2 parents b9156c7 + 207d0ba commit 76aec6e
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/Spec2-Core/SpDropListPresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -352,15 +352,11 @@ SpDropListPresenter >> whenSelectedItemChangedDo: aBlock [
{ #category : 'api - events' }
SpDropListPresenter >> whenSelectionChangedDo: aBlock [
"Inform when the selection is changed.
The method should be used only if you are interested in the fact that there was
a change, without caring about what has changed.
The method should be used only if you are interested in the fact that
there was a change, without caring about what has changed.
If you are interested in the items, use `SpDropListPresenter>>#whenSelectedItemChanged:`
`aBlock` receive 3 optional arguments:
- new value
- old value
- announcement triggered"
`aBlock` receives an optional argument with the selection object."

selection whenChangedDo: aBlock
]
Expand Down

0 comments on commit 76aec6e

Please sign in to comment.