aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAppController.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPAppController.m')
-rw-r--r--Source/SPAppController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPAppController.m b/Source/SPAppController.m
index 37f79242..a6b965c7 100644
--- a/Source/SPAppController.m
+++ b/Source/SPAppController.m
@@ -302,8 +302,8 @@
// Create a new window controller, and set up a new connection view within it.
SPWindowController *newWindowController = [[SPWindowController alloc] initWithWindowNibName:@"MainWindow"];
+ [newWindowController addNewConnection:self];
NSWindow *newWindow = [newWindowController window];
- [newWindow setReleasedWhenClosed:YES];
// Cascading defaults to on - retrieve the window origin automatically assigned by cascading,
// and convert to a top left point.