aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorStuart Connolly <stuart02@gmail.com>2017-03-15 01:34:55 +0000
committerStuart Connolly <stuart02@gmail.com>2017-03-15 01:34:55 +0000
commit0bbe1ffb33a30f7e2d0d06e692ab20ec46f28a46 (patch)
tree6d8b4dc75b067b26abe339e36cf679bc4fb30cfe /Source
parent8222c8f7ecafc6a19c9002b347fa63f6f01143f3 (diff)
parentfdec26ea42ad4c89ff33d5e902af471bc8112d9b (diff)
downloadsequelpro-0bbe1ffb33a30f7e2d0d06e692ab20ec46f28a46.tar.gz
sequelpro-0bbe1ffb33a30f7e2d0d06e692ab20ec46f28a46.tar.bz2
sequelpro-0bbe1ffb33a30f7e2d0d06e692ab20ec46f28a46.zip
Merge branch 'master' of github.com:sequelpro/sequelpro
Diffstat (limited to 'Source')
-rw-r--r--Source/SPContentFilterManager.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPContentFilterManager.m b/Source/SPContentFilterManager.m
index 6356f416..5dc0c48b 100644
--- a/Source/SPContentFilterManager.m
+++ b/Source/SPContentFilterManager.m
@@ -237,7 +237,7 @@ static NSString *SPExportFilterAction = @"SPExportFilter";
NSUInteger insertIndex;
// Store pending changes in Clause
- [[self window] makeFirstResponder:contentFilterNameTextField];
+ [[self window] makeFirstResponder:nil];
// Duplicate a selected filter if sender == self
if(sender == self)
@@ -298,7 +298,7 @@ static NSString *SPExportFilterAction = @"SPExportFilter";
{
// Complete editing in the window
- [[sender window] makeFirstResponder:[sender window]];
+ [[self window] makeFirstResponder:nil];
NSAlert *alert = [NSAlert alertWithMessageText:NSLocalizedString(@"Remove selected content filters?", @"remove selected content filters message")
defaultButton:NSLocalizedString(@"Remove", @"remove button")