diff -r 8fad19466c59 -r 2d492d8c2053 UniqueWindowController.m --- a/UniqueWindowController.m Sun Apr 06 19:13:27 2008 -0700 +++ b/UniqueWindowController.m Fri Apr 18 09:25:10 2008 -0700 @@ -36,12 +36,20 @@ if( ! w ) { w = [[self alloc] initWith: model]; [w showWindow: self]; + } else { + if( model != w.model ) + [w reopenWith: model]; } [w.window makeKeyAndOrderFront: self]; return w; } +- (void) reopenWith: (id)model +{ +} + + - (void) windowWillClose: (NSNotification*)n { [self autorelease];