Fix document title's not being synced properly.

This commit is contained in:
Ross Boucher
2010-03-05 20:09:23 -08:00
parent d3547dd892
commit 29a0de3636
+2 -2
View File
@@ -1834,11 +1834,11 @@ CPTexturedBackgroundWindowMask
*/
- (void)becomeMainWindow
{
CPApp._mainWindow = self;
[self _synchronizeMenuBarTitleWithWindowTitle];
[self _synchronizeSaveMenuWithDocumentSaving];
CPApp._mainWindow = self;
[[CPNotificationCenter defaultCenter]
postNotificationName:CPWindowDidBecomeMainNotification
object:self];