diff options
-rw-r--r-- | Source/SPContentFilterManager.m | 4 | ||||
-rw-r--r-- | Source/SPQueryFavoriteManager.m | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/Source/SPContentFilterManager.m b/Source/SPContentFilterManager.m index d0282612..f30f885a 100644 --- a/Source/SPContentFilterManager.m +++ b/Source/SPContentFilterManager.m @@ -292,6 +292,10 @@ */ - (IBAction)removeContentFilter:(id)sender { + + // Complete editing in the window + [[sender window] makeFirstResponder:[sender window]]; + NSAlert *alert = [NSAlert alertWithMessageText:NSLocalizedString(@"Remove selected content filters?", @"remove selected content filters message") defaultButton:NSLocalizedString(@"Remove", @"remove button") alternateButton:NSLocalizedString(@"Cancel", @"cancel button") diff --git a/Source/SPQueryFavoriteManager.m b/Source/SPQueryFavoriteManager.m index 79839316..c035f6f8 100644 --- a/Source/SPQueryFavoriteManager.m +++ b/Source/SPQueryFavoriteManager.m @@ -258,6 +258,10 @@ */ - (IBAction)removeQueryFavorite:(id)sender { + + // Complete editing in the window + [[sender window] makeFirstResponder:[sender window]]; + NSAlert *alert = [NSAlert alertWithMessageText:NSLocalizedString(@"Remove selected query favorites?", @"remove selected query favorites message") defaultButton:NSLocalizedString(@"Remove", @"remove button") alternateButton:NSLocalizedString(@"Cancel", @"cancel button") |