aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTextViewAdditions.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-12-01 23:49:55 +0000
committerBibiko <bibiko@eva.mpg.de>2010-12-01 23:49:55 +0000
commit4801fedd91e3a6abb1ee6a7aa1174a089bf6e547 (patch)
tree83de108f27534334f95c2198de13ad4686e3164d /Source/SPTextViewAdditions.m
parent842e85a37b698be1245dee0948a1abd99973638c (diff)
downloadsequelpro-4801fedd91e3a6abb1ee6a7aa1174a089bf6e547.tar.gz
sequelpro-4801fedd91e3a6abb1ee6a7aa1174a089bf6e547.tar.bz2
sequelpro-4801fedd91e3a6abb1ee6a7aa1174a089bf6e547.zip
• Bundle Commands
- make sure that each HTML output window will be released - if a triggered command will outputs its result in an HTML window invoke it only if the HTML output window is already open; this enables the user to "switch on/off" such a trigger
Diffstat (limited to 'Source/SPTextViewAdditions.m')
-rw-r--r--Source/SPTextViewAdditions.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/SPTextViewAdditions.m b/Source/SPTextViewAdditions.m
index 70548bf3..10f3f2e5 100644
--- a/Source/SPTextViewAdditions.m
+++ b/Source/SPTextViewAdditions.m
@@ -642,6 +642,7 @@
SPBundleHTMLOutputController *c = [[SPBundleHTMLOutputController alloc] init];
[c setWindowUUID:[cmdData objectForKey:SPBundleFileUUIDKey]];
[c displayHTMLContent:output withOptions:nil];
+ [[NSApp delegate] addHTMLOutputController:c];
}
}