aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTextViewAdditions.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2013-02-02 14:52:39 +0000
committerstuconnolly <stuart02@gmail.com>2013-02-02 14:52:39 +0000
commitbb61fe13ac5c4c01182ea06d0f7b09e64e9678ff (patch)
tree7e7f56e9f8ade3de36f6647a1aabde0903fa5e5f /Source/SPTextViewAdditions.m
parent82c448ad7672b844535b366e6e58243d6113691c (diff)
downloadsequelpro-bb61fe13ac5c4c01182ea06d0f7b09e64e9678ff.tar.gz
sequelpro-bb61fe13ac5c4c01182ea06d0f7b09e64e9678ff.tar.bz2
sequelpro-bb61fe13ac5c4c01182ea06d0f7b09e64e9678ff.zip
Fix more warnings.
Diffstat (limited to 'Source/SPTextViewAdditions.m')
-rw-r--r--Source/SPTextViewAdditions.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPTextViewAdditions.m b/Source/SPTextViewAdditions.m
index 0857bbb9..de3b955b 100644
--- a/Source/SPTextViewAdditions.m
+++ b/Source/SPTextViewAdditions.m
@@ -802,7 +802,7 @@
[menu removeItem:bItem];
}
- if([[[[[[NSApp delegate] frontDocumentWindow] delegate] selectedTableDocument] connectionID] isEqualToString:@"_"]) return menu;
+ if ([[[(SPWindowController *)[[[NSApp delegate] frontDocumentWindow] delegate] selectedTableDocument] connectionID] isEqualToString:@"_"]) return menu;
[[NSApp delegate] reloadBundles:self];