aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPBundleCommandTextView.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2011-01-06 18:13:08 +0000
committerBibiko <bibiko@eva.mpg.de>2011-01-06 18:13:08 +0000
commitcc9be0fd6dd193db4615a6a5a94913a3c7b56a68 (patch)
tree02cf3a2193faf8b45d33ab570f994562be017726 /Source/SPBundleCommandTextView.m
parent1bb16aa9943b686f4bf0b5adb3fe42495cf74f35 (diff)
downloadsequelpro-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.m4
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]];
}