Skip to content

Commit

Permalink
Merge branch 'master' of github.com:sequelpro/sequelpro
Browse files Browse the repository at this point in the history
  • Loading branch information
stuconnolly committed Mar 15, 2017
2 parents 8222c8f + fdec26e commit 0bbe1ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/SPContentFilterManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ - (IBAction)addContentFilter:(id)sender
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)
Expand Down Expand Up @@ -298,7 +298,7 @@ - (IBAction)removeContentFilter:(id)sender
{

// 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")
Expand Down

0 comments on commit 0bbe1ff

Please sign in to comment.