diff options
author | rowanbeentje <rowan@beent.je> | 2013-03-05 00:12:49 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2013-03-05 00:12:49 +0000 |
commit | 2d9e30ebc8a5937d0c9a41fc8d995cd5287040a7 (patch) | |
tree | 9a098076ce99c26e757e2219dc5d81730f580d19 /Source/SPQueryFavoriteManager.m | |
parent | f2545c5e4fc4414d4ee448de4a5f399d6cf58ad2 (diff) | |
download | sequelpro-2d9e30ebc8a5937d0c9a41fc8d995cd5287040a7.tar.gz sequelpro-2d9e30ebc8a5937d0c9a41fc8d995cd5287040a7.tar.bz2 sequelpro-2d9e30ebc8a5937d0c9a41fc8d995cd5287040a7.zip |
- End editing for deleting content filter or query favourites, addressing exceptions and Issue #1648
Diffstat (limited to 'Source/SPQueryFavoriteManager.m')
-rw-r--r-- | Source/SPQueryFavoriteManager.m | 4 |
1 files changed, 4 insertions, 0 deletions
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") |