}
#pragma mark export notifications
-
- (void)exportWindowWillClose: (NSNotification *)notification
{
[mServersPopUp selectItemAtIndex: 0];
- [self disconnect];
+ [self disconnect];
[[NSNotificationCenter defaultCenter] removeObserver: self
name: NSWindowWillCloseNotification
object: nil];
// Register for the close notification
[[NSNotificationCenter defaultCenter] addObserver: self
selector: @selector(exportWindowWillClose:)
- name: NSWindowWillCloseNotification
+ name: NSWindowWillCloseNotification
object :nil];
// Only do this once