Skip to content

Commit

Permalink
fix demo test
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanlm committed Oct 10, 2024
1 parent ed331f8 commit 8b55194
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Spec2-Examples/SpDemoButtonsPresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ SpDemoButtonsPresenter >> initializePresenters [
actions: self subMenuActions;
yourself.
buttonWithShortcut := self newButton
shortcutKey: $o meta;
shortcut: $o meta;
label: 'with shortcut';
yourself.
buttonWithHelp := self newButton
Expand Down
2 changes: 1 addition & 1 deletion src/Spec2-Examples/SpDemoListsPresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ SpDemoListsPresenter >> list1MenuActions [
action: [ list1 selectedItem traceCr ] ];
addActionWith: [ :anItem | anItem
name: 'Disabled if class begins with A';
enabled: [ list1 selectedItem printString first ~= $A ];
actionEnabled: [ list1 selectedItem printString first ~= $A ];
action: [ list1 selectedItem traceCr ] ] ];
yourself
]
Expand Down

0 comments on commit 8b55194

Please sign in to comment.