Skip to content

Commit

Permalink
Add a convenience method so we don't have to ask listPresenter to set…
Browse files Browse the repository at this point in the history
… the header title of a filtering list:
  • Loading branch information
Hernán Morales Durand committed Aug 29, 2024
1 parent e5055ef commit 5ea47cc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Spec2-CommonWidgets/SpFilteringListPresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,13 @@ SpFilteringListPresenter >> filterText [
^ self filterInputPresenter text
]

{ #category : 'api' }
SpFilteringListPresenter >> headerTitle: aString [
"Set the receiver's title to aString"

listPresenter headerTitle: aString
]

{ #category : 'initialization' }
SpFilteringListPresenter >> initializePresenters [

Expand Down

0 comments on commit 5ea47cc

Please sign in to comment.