summaryrefslogtreecommitdiff
path: root/tikzit/src/osx/PropertyInspectorController.m
diff options
context:
space:
mode:
authorAlex Merry <alex.merry@cs.ox.ac.uk>2013-02-04 11:55:17 +0000
committerAlex Merry <alex.merry@cs.ox.ac.uk>2013-02-04 11:55:17 +0000
commit5349460f6ba630d92ab61f4cbe1c04210e7684cc (patch)
treeffca8efdeb7e51477d6f90e93512f75432600c48 /tikzit/src/osx/PropertyInspectorController.m
parentf9bdbf93887313a79528696607d96140f33cbd84 (diff)
parent5afd392bb6ddde79f0518ffd913bd8c365bf39e6 (diff)
Merge branch 'master' into multi-docs
Diffstat (limited to 'tikzit/src/osx/PropertyInspectorController.m')
-rw-r--r--tikzit/src/osx/PropertyInspectorController.m7
1 files changed, 5 insertions, 2 deletions
diff --git a/tikzit/src/osx/PropertyInspectorController.m b/tikzit/src/osx/PropertyInspectorController.m
index 8254949..1411549 100644
--- a/tikzit/src/osx/PropertyInspectorController.m
+++ b/tikzit/src/osx/PropertyInspectorController.m
@@ -22,6 +22,7 @@
@synthesize stylePaletteController;
@synthesize selectedNodes, selectedEdges;
+@synthesize sourceAnchorNames, targetAnchorNames;
- (id)initWithWindowNibName:(NSString *)windowNibName {
[super initWithWindowNibName:windowNibName];
@@ -50,8 +51,10 @@
name:@"NSWindowDidBecomeMainNotification"
object:nil];
-
-
+ [self setSourceAnchorNames: [[NSMutableArray alloc] initWithArray: [@"north south west east" componentsSeparatedByString:@" "]]];
+
+ [self setTargetAnchorNames: [[NSMutableArray alloc] initWithArray:[@"north south west east" componentsSeparatedByString:@" "]]];
+
[[self window] setLevel:NSNormalWindowLevel];
[self showWindow:self];