diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-12-07 11:26:01 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-12-07 11:26:01 +0000 |
commit | 0659cbdf1ef8c6cb4f0ce9e68a5982cdf5f0816c (patch) | |
tree | aa7494162cba166e1a590a694b7c9d3df0745c49 /Source/SPBundleEditorController.m | |
parent | 44cf4df2bbe2e9208faef346abc0a64e62432592 (diff) | |
download | sequelpro-0659cbdf1ef8c6cb4f0ce9e68a5982cdf5f0816c.tar.gz sequelpro-0659cbdf1ef8c6cb4f0ce9e68a5982cdf5f0816c.tar.bz2 sequelpro-0659cbdf1ef8c6cb4f0ce9e68a5982cdf5f0816c.zip |
• aborting editing of the bundle name outlineView cell before removing the selected bundle in order to avoid a crash
Diffstat (limited to 'Source/SPBundleEditorController.m')
-rw-r--r-- | Source/SPBundleEditorController.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/SPBundleEditorController.m b/Source/SPBundleEditorController.m index 2eb58edc..2d9da4b0 100644 --- a/Source/SPBundleEditorController.m +++ b/Source/SPBundleEditorController.m @@ -662,6 +662,9 @@ */ - (IBAction)removeCommandBundle:(id)sender { + + [commandsOutlineView abortEditing]; + NSAlert *alert = [NSAlert alertWithMessageText:NSLocalizedString(@"Remove selected Bundle?", @"remove selected bundle message") defaultButton:NSLocalizedString(@"Remove", @"remove button") alternateButton:NSLocalizedString(@"Cancel", @"cancel button") |