aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPBundleHTMLOutputController.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2012-03-20 01:26:38 +0000
committerrowanbeentje <rowan@beent.je>2012-03-20 01:26:38 +0000
commitbe12cd54abe6cc10ccb61fca3d5f27032d983506 (patch)
treec77681a659106911ce0656e733ee9e74961df464 /Source/SPBundleHTMLOutputController.m
parentf37571808b516360a9f1f6f6291f6469e30b7c06 (diff)
downloadsequelpro-be12cd54abe6cc10ccb61fca3d5f27032d983506.tar.gz
sequelpro-be12cd54abe6cc10ccb61fca3d5f27032d983506.tar.bz2
sequelpro-be12cd54abe6cc10ccb61fca3d5f27032d983506.zip
- Fix crashes caused by using SPBundleHTMLOutputController windows, closing them, and then triggering bundle reloads (eg via right-clicking)
Diffstat (limited to 'Source/SPBundleHTMLOutputController.m')
-rw-r--r--Source/SPBundleHTMLOutputController.m4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/SPBundleHTMLOutputController.m b/Source/SPBundleHTMLOutputController.m
index 9243741c..cff150c0 100644
--- a/Source/SPBundleHTMLOutputController.m
+++ b/Source/SPBundleHTMLOutputController.m
@@ -59,9 +59,6 @@
{
if ((self = [super initWithWindowNibName:@"BundleHTMLOutput"])) {
-
- [[self window] setReleasedWhenClosed:YES];
-
[webView setContinuousSpellCheckingEnabled:NO];
[webView setGroupName:@"SequelProBundleHTMLOutput"];
[webView setDrawsBackground:YES];
@@ -286,6 +283,7 @@
[self setInitHTMLSourceString:@""];
windowUUID = @"";
docUUID = @"";
+ [[NSApp delegate] removeHTMLOutputController:self];
[self release];
}