From 2d9e30ebc8a5937d0c9a41fc8d995cd5287040a7 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Tue, 5 Mar 2013 00:12:49 +0000 Subject: - End editing for deleting content filter or query favourites, addressing exceptions and Issue #1648 --- Source/SPQueryFavoriteManager.m | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Source/SPQueryFavoriteManager.m') 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") -- cgit v1.2.3