Skip to content

Commit ea88929

Browse files
committed
Use a simpler way to add key bindings coming from the menubar
1 parent 2d213fa commit ea88929

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CodeOfSpec20Book/MailClientPresenterWithDecorations.class.st

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ MailClientPresenterWithDecorations >> initializeWindow: aWindowPresenter [
146146
aWindowPresenter
147147
menu: menuBar;
148148
toolbar: toolBar;
149-
statusBar: statusBar;
150-
whenOpenedDo: [ menuBar addKeybindingsTo: aWindowPresenter ]
149+
statusBar: statusBar.
150+
menuBar addKeybindingsTo: aWindowPresenter
151151
]
152152

153153
{ #category : 'private' }

0 commit comments

Comments
 (0)