diff options
author | Bibiko <bibiko@eva.mpg.de> | 2011-01-06 18:13:08 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2011-01-06 18:13:08 +0000 |
commit | cc9be0fd6dd193db4615a6a5a94913a3c7b56a68 (patch) | |
tree | 02cf3a2193faf8b45d33ab570f994562be017726 /Source/SPBundleCommandTextView.m | |
parent | 1bb16aa9943b686f4bf0b5adb3fe42495cf74f35 (diff) | |
download | sequelpro-cc9be0fd6dd193db4615a6a5a94913a3c7b56a68.tar.gz sequelpro-cc9be0fd6dd193db4615a6a5a94913a3c7b56a68.tar.bz2 sequelpro-cc9be0fd6dd193db4615a6a5a94913a3c7b56a68.zip |
• trial to fix boundsDidChangeNotification for logs 1894, 1900, 1901
Diffstat (limited to 'Source/SPBundleCommandTextView.m')
-rw-r--r-- | Source/SPBundleCommandTextView.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPBundleCommandTextView.m b/Source/SPBundleCommandTextView.m index cd6e5706..d9aae0f7 100644 --- a/Source/SPBundleCommandTextView.m +++ b/Source/SPBundleCommandTextView.m @@ -31,8 +31,8 @@ - (void)dealloc { - [prefs removeObserver:self forKeyPath:SPCustomQueryEditorTabStopWidth]; [[NSNotificationCenter defaultCenter] removeObserver:self]; + [prefs removeObserver:self forKeyPath:SPCustomQueryEditorTabStopWidth]; [prefs release]; [lineNumberView release]; } @@ -62,7 +62,7 @@ [[self layoutManager] setBackgroundLayoutEnabled:NO]; // add NSViewBoundsDidChangeNotification to scrollView - [[commandScrollView contentView] setPostsBoundsChangedNotifications:YES]; + [commandScrollView setPostsBoundsChangedNotifications:YES]; [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(boundsDidChangeNotification:) name:NSViewBoundsDidChangeNotification object:[commandScrollView contentView]]; } |