aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPBundleEditorController.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-12-07 11:37:09 +0000
committerBibiko <bibiko@eva.mpg.de>2010-12-07 11:37:09 +0000
commit3e89faa2a094ad0b996757fc8c3fc90d332b625f (patch)
treed318825cc014b6cb57dd6843148c5cdc8bd2b258 /Source/SPBundleEditorController.m
parent0659cbdf1ef8c6cb4f0ce9e68a5982cdf5f0816c (diff)
downloadsequelpro-3e89faa2a094ad0b996757fc8c3fc90d332b625f.tar.gz
sequelpro-3e89faa2a094ad0b996757fc8c3fc90d332b625f.tar.bz2
sequelpro-3e89faa2a094ad0b996757fc8c3fc90d332b625f.zip
• re-init the Bundle tree after not saving (close) the Bundle Editor window in order to remove all not stored data
Diffstat (limited to 'Source/SPBundleEditorController.m')
-rw-r--r--Source/SPBundleEditorController.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/SPBundleEditorController.m b/Source/SPBundleEditorController.m
index 2d9da4b0..8fbf8e94 100644
--- a/Source/SPBundleEditorController.m
+++ b/Source/SPBundleEditorController.m
@@ -748,6 +748,12 @@
}
+- (IBAction)performClose:(id)sender
+{
+ [self _initTree];
+ [self close];
+}
+
/**
* Save all touched bundles to disk and close the Bundle Editor window
*/