From b24cc3f13ae28382f3c278a326c90e635d3b4a7b Mon Sep 17 00:00:00 2001 From: Bibiko Date: Tue, 30 Nov 2010 12:21:04 +0000 Subject: =?UTF-8?q?=E2=80=A2=20fixed=20issue=20for=20saving=20spf=20files?= =?UTF-8?q?=20if=20sslCertificateFileLocation=20is=20nil=20=E2=80=A2=20SPC?= =?UTF-8?q?onnectionController=20-=20assign=20favoritesTable=20to=20the=20?= =?UTF-8?q?correct=20new=20class=20SPFavoriteOutlineView=20(not=20a=20NSTa?= =?UTF-8?q?bleView)=20-=20allowed=20empty=20selection=20for=20SPFavoriteOu?= =?UTF-8?q?tlineView=20[=20this=20fixes=20mainly=20the=20issue=20to=20open?= =?UTF-8?q?=20spfs=20files=20]=20-=20moved=20double-click=20action=20to=20?= =?UTF-8?q?outlineView:shouldEditTableColumn:tableColumn=20item:=20to=20su?= =?UTF-8?q?ppress=20double-click=20at=20a=20group=20header=20-=20re-enable?= =?UTF-8?q?d=20navigation=20through=20the=20fav=20outlineView=20even=20if?= =?UTF-8?q?=20the=20password=20field=20is=20empty=20-=20now=20if=20the=20f?= =?UTF-8?q?ield=20is=20empty=20the=20user=20can=20simply=20press=20TAB=20k?= =?UTF-8?q?ey=20move=20the=20focus=20to=20that=20field=20-=20this=20fixes?= =?UTF-8?q?=20issue=20799=20=E2=80=A2=20minor=20code=20cleaning?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPConnectionControllerDelegate.m | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Source/SPConnectionControllerDelegate.m') diff --git a/Source/SPConnectionControllerDelegate.m b/Source/SPConnectionControllerDelegate.m index 8d3b385d..a2653c5a 100644 --- a/Source/SPConnectionControllerDelegate.m +++ b/Source/SPConnectionControllerDelegate.m @@ -212,4 +212,13 @@ return (![item nodeIsGroup]); } + +/** + * Double-Click opens the connection. + */ +- (BOOL)outlineView:(NSOutlineView *)outlineView shouldEditTableColumn:(NSTableColumn *)tableColumn item:(id)item +{ + [self initiateConnection:self]; + return NO; +} @end -- cgit v1.2.3