summaryrefslogtreecommitdiff
path: root/tikzit/src/osx/AppDelegate.m
diff options
context:
space:
mode:
Diffstat (limited to 'tikzit/src/osx/AppDelegate.m')
-rw-r--r--tikzit/src/osx/AppDelegate.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/tikzit/src/osx/AppDelegate.m b/tikzit/src/osx/AppDelegate.m
index 35484b7..94f5507 100644
--- a/tikzit/src/osx/AppDelegate.m
+++ b/tikzit/src/osx/AppDelegate.m
@@ -110,7 +110,7 @@
}
- (IBAction)togglePreamble:(id)sender {
- [self toggleController:preambleController];
+ [self toggleController:(NSWindowController *) preambleController];
}
- (IBAction)togglePreferences:(id)sender {