From 7b840caf675ece703faf5a16749b47d1b023bdcd Mon Sep 17 00:00:00 2001 From: Bibiko Date: Thu, 6 Aug 2009 11:42:47 +0000 Subject: =?UTF-8?q?=E2=80=A2=20added=20encoding=20popup=20list=20as=20acce?= =?UTF-8?q?ssory=20view=20for=20Open=20spf=20or=20sql=20files=20-=20rename?= =?UTF-8?q?d=20menu=20item=20to=20Open=20-=20if=20sql=20file=20is=20select?= =?UTF-8?q?ed=20encoding=20popup=20list=20is=20enabled=20otherwise=20not?= =?UTF-8?q?=20since=20spf=20will=20be=20encoded=20in=20UTF-8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/MainController.m | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/MainController.m') diff --git a/Source/MainController.m b/Source/MainController.m index 17aa2652..1cdc0244 100644 --- a/Source/MainController.m +++ b/Source/MainController.m @@ -77,6 +77,8 @@ // Pass query to the Query editor of the current document [[[NSDocumentController sharedDocumentController] currentDocument] doPerformLoadQueryService:[self contentOfFile:filename]]; + + break; // open only the first SQL file } else if([[[filename pathExtension] lowercaseString] isEqualToString:@"spf"]) { -- cgit v1.2.3