Skip to content

Commit

Permalink
do not display if I setup/bind
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanlm committed Dec 13, 2024
1 parent a8e3588 commit f913a55
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Spec2-ListView/SpDropDownPresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ SpDropDownPresenter class >> example [
items: self environment allClasses;
setup: [ :aPresenter | aPresenter newLabel ];
bind: [ :aPresenter :aClass | aPresenter label: aClass name ];
display: [ :aClass | aClass name ];
open
]

Expand Down Expand Up @@ -72,7 +71,6 @@ SpDropDownPresenter class >> exampleWithSelectedItem [
items: self environment allClassesAndTraits;
setup: [ :aPresenter | aPresenter newLabel ];
bind: [ :aPresenter :aClass | aPresenter label: aClass name ];
display: [ :aClass | aClass name ];
selectItem: Object;
whenSelectionChangedDo: [ :aSelection | aSelection selectedItem crTrace ];
open
Expand Down

0 comments on commit f913a55

Please sign in to comment.