Skip to content

Commit

Permalink
fixe ToListSelectionElementEventHandler>>updateSelectionFromEvent:
Browse files Browse the repository at this point in the history
  • Loading branch information
plantec committed Oct 11, 2024
1 parent 2be3221 commit 4d6ee3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/Toplo-Examples/ToListElementStresser.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,7 @@ ToListElementStresser >> selectActionsToRun [
ToListElementStresser >> selectionResultsTextOn: aListElement [

| nb nbTasks |
self tabsPanel space ifNil: [ ^ self ].
nbTasks := self tabsPanel space taskQueue tasks size.
maxNbTasks := maxNbTasks max: nbTasks.
nb := aListElement selectionModel underlyingModel intervals size.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ ToListSelectionElementEventHandler >> updateSelectionFromEvent: anEvent [
self differUpdateSelectionFrom: target.
^ self ].

anEvent selectionOption
updateSelectionIn: target
withSelectionModel: anEvent selectionModel
anEvent selectionOption ifNotNil: [ :option |
option
updateSelectionIn: target
withSelectionModel: anEvent selectionModel ]
]

0 comments on commit 4d6ee3a

Please sign in to comment.