From 207d0babc02cb9a3a33be02d1470b6418085e874 Mon Sep 17 00:00:00 2001 From: Esteban Lorenzano Date: Wed, 27 Nov 2024 11:20:28 +0100 Subject: [PATCH] fixes https://github.com/pharo-spec/Spec/issues/1663 (corrects a method comment) --- src/Spec2-Core/SpDropListPresenter.class.st | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/Spec2-Core/SpDropListPresenter.class.st b/src/Spec2-Core/SpDropListPresenter.class.st index 8c9013d4..ccdfce3f 100644 --- a/src/Spec2-Core/SpDropListPresenter.class.st +++ b/src/Spec2-Core/SpDropListPresenter.class.st @@ -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 ]