Skip to content

Commit e1db063

Browse files
authored
Update ManagingWindow.md
The message `withWindowDo:` should have a receiver
1 parent 7dffda6 commit e1db063

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Chapters/ManagingWindow/ManagingWindow.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ dialog
157157
The message `withWindowDo:` makes sure that the presenter that scheduled the window still exists or is in a state that makes sense.
158158

159159
```
160-
withWindowDo: [ :window | window title: 'MyTitle' ]
160+
presenter withWindowDo: [ :window | window title: 'MyTitle' ]
161161
```
162162

163163

@@ -449,4 +449,4 @@ WindowExamplePresenter >> initializeDialogWindow: aDialogWindowPresenter
449449
### Conclusion
450450

451451

452-
In this chapter, we treated the features of Spec that have to do with windows. First we described opening and closing windows as well as how to open a window as a dialog box. That was followed by configuring the window's size and its decorating widgets. After highlighting small yet important details of the window like its title and the about text, the chapter ended with handling dialogs.
452+
In this chapter, we treated the features of Spec that have to do with windows. First we described opening and closing windows as well as how to open a window as a dialog box. That was followed by configuring the window's size and its decorating widgets. After highlighting small yet important details of the window like its title and the about text, the chapter ended with handling dialogs.

0 commit comments

Comments
 (0)