Skip to content

Commit

Permalink
Merge pull request #1115 from pharo-spec/dev-1.0
Browse files Browse the repository at this point in the history
fix to filter table
  • Loading branch information
estebanlm authored Jul 13, 2021
2 parents c3a8511 + a9d0e97 commit f3f5870
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Spec2-Core/SpFilteringSelectableListPresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,14 @@ Class {
{ #category : #private }
SpFilteringSelectableListPresenter >> activateAll [

| itemsToSelect |
itemsToSelect := self items \ selectedItems.
itemsToSelect ifEmpty: [ ^ self ].

self selectItems: self items.

self onActivation ifNotNil: [ :valuable |
self items \ selectedItems do: [ :item | valuable cull: item ] ]
itemsToSelect do: [ :item | valuable cull: item ] ]
]

{ #category : #private }
Expand Down

0 comments on commit f3f5870

Please sign in to comment.