aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoravenjamin <avenjamin@gmail.com>2009-05-22 13:47:33 +0000
committeravenjamin <avenjamin@gmail.com>2009-05-22 13:47:33 +0000
commitbcb75ae5eef97aadaf14d45f2355f5310a12958f (patch)
treef26fa5185a33f1577535e68aa7bc256692df5587
parent7e923280a2cc74d4e24d9e5049962ad28d06cbe1 (diff)
downloadsequelpro-bcb75ae5eef97aadaf14d45f2355f5310a12958f.tar.gz
sequelpro-bcb75ae5eef97aadaf14d45f2355f5310a12958f.tar.bz2
sequelpro-bcb75ae5eef97aadaf14d45f2355f5310a12958f.zip
- Forgot to save this file before last commit
-rw-r--r--Source/CustomQuery.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/CustomQuery.m b/Source/CustomQuery.m
index 3b76aba7..32069bb8 100644
--- a/Source/CustomQuery.m
+++ b/Source/CustomQuery.m
@@ -235,7 +235,7 @@
// "Auto-pair characters" toggle
if (sender == autopairMenuItem) {
BOOL enableAutopair = !([autopairMenuItem state] == NSOffState);
- [prefs setBool:enableAutopair forKey:@"CustomQueryAutoPair"];
+ [prefs setBool:enableAutopair forKey:@"CustomQueryAutoPairCharacters"];
[prefs synchronize];
[autopairMenuItem setState:enableAutopair?NSOnState:NSOffState];
[textView setAutopair:enableAutopair];
@@ -940,8 +940,8 @@
[autoindentMenuItem setState:([prefs boolForKey:@"CustomQueryAutoIndent"]?NSOnState:NSOffState)];
[textView setAutoindent:[prefs boolForKey:@"CustomQueryAutoIndent"]];
[textView setAutoindentIgnoresEnter:YES];
- [autopairMenuItem setState:([prefs boolForKey:@"CustomQueryAutoPair"]?NSOnState:NSOffState)];
- [textView setAutopair:[prefs boolForKey:@"CustomQueryAutoPair"]];
+ [autopairMenuItem setState:([prefs boolForKey:@"CustomQueryAutoPairCharacters"]?NSOnState:NSOffState)];
+ [textView setAutopair:[prefs boolForKey:@"CustomQueryAutoPairCharacters"]];
[autohelpMenuItem setState:([prefs boolForKey:@"CustomQueryUpdateAutoHelp"]?NSOnState:NSOffState)];
[textView setAutohelp:[prefs boolForKey:@"CustomQueryUpdateAutoHelp"]];
[autouppercaseKeywordsMenuItem setState:([prefs boolForKey:@"CustomQueryAutoUppercaseKeywords"]?NSOnState:NSOffState)];