aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-02-01 17:28:15 +0000
committerrowanbeentje <rowan@beent.je>2010-02-01 17:28:15 +0000
commit502ccf54c641fcbdda80abf0ed4af243d70e475a (patch)
treeaa7db35144b1d957a4abbc6b2baabd24adb3f56c /Source
parenta410164c7227eb3825a86b1502feaea497e796c1 (diff)
downloadsequelpro-502ccf54c641fcbdda80abf0ed4af243d70e475a.tar.gz
sequelpro-502ccf54c641fcbdda80abf0ed4af243d70e475a.tar.bz2
sequelpro-502ccf54c641fcbdda80abf0ed4af243d70e475a.zip
- Check whether super implement awakeFromNib before calling to fix 10.5 compatibility
Diffstat (limited to 'Source')
-rw-r--r--Source/CMCopyTable.m4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/CMCopyTable.m b/Source/CMCopyTable.m
index 3a929a6e..751be5a3 100644
--- a/Source/CMCopyTable.m
+++ b/Source/CMCopyTable.m
@@ -451,7 +451,9 @@ NSInteger MENU_EDIT_COPY_AS_SQL = 2002;
columnDefinitions = nil;
prefs = [[NSUserDefaults standardUserDefaults] retain];
- [super awakeFromNib];
+ if ([NSTableView instancesRespondToSelector:@selector(awakeFromNib)]) {
+ [super awakeFromNib] ;
+ }
}
- (void) dealloc