From 4801fedd91e3a6abb1ee6a7aa1174a089bf6e547 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Wed, 1 Dec 2010 23:49:55 +0000 Subject: =?UTF-8?q?=E2=80=A2=20Bundle=20Commands=20-=20make=20sure=20that?= =?UTF-8?q?=20each=20HTML=20output=20window=20will=20be=20released=20-=20i?= =?UTF-8?q?f=20a=20triggered=20command=20will=20outputs=20its=20result=20i?= =?UTF-8?q?n=20an=20HTML=20window=20invoke=20it=20only=20if=20the=20HTML?= =?UTF-8?q?=20output=20window=20is=20already=20open;=20this=20enables=20th?= =?UTF-8?q?e=20user=20to=20"switch=20on/off"=20such=20a=20trigger?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPCopyTable.m | 1 + 1 file changed, 1 insertion(+) (limited to 'Source/SPCopyTable.m') diff --git a/Source/SPCopyTable.m b/Source/SPCopyTable.m index 86fb9d85..687cb2e4 100644 --- a/Source/SPCopyTable.m +++ b/Source/SPCopyTable.m @@ -964,6 +964,7 @@ NSInteger MENU_EDIT_COPY_AS_SQL = 2003; SPBundleHTMLOutputController *c = [[SPBundleHTMLOutputController alloc] init]; [c setWindowUUID:[cmdData objectForKey:SPBundleFileUUIDKey]]; [c displayHTMLContent:output withOptions:nil]; + [[NSApp delegate] addHTMLOutputController:c]; } } } -- cgit v1.2.3