diff options
author | rowanbeentje <rowan@beent.je> | 2010-02-01 17:28:15 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-02-01 17:28:15 +0000 |
commit | 502ccf54c641fcbdda80abf0ed4af243d70e475a (patch) | |
tree | aa7db35144b1d957a4abbc6b2baabd24adb3f56c | |
parent | a410164c7227eb3825a86b1502feaea497e796c1 (diff) | |
download | sequelpro-502ccf54c641fcbdda80abf0ed4af243d70e475a.tar.gz sequelpro-502ccf54c641fcbdda80abf0ed4af243d70e475a.tar.bz2 sequelpro-502ccf54c641fcbdda80abf0ed4af243d70e475a.zip |
- Check whether super implement awakeFromNib before calling to fix 10.5 compatibility
-rw-r--r-- | Source/CMCopyTable.m | 4 |
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 |