From 13f38b3466737b4794b7f8af882290b692eef497 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Mon, 8 Oct 2012 21:56:12 +0000 Subject: - Connection interface: if the name of a node is being edited in the sidebar, don't start editing in the main interface --- Source/SPConnectionControllerDelegate.m | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Source') diff --git a/Source/SPConnectionControllerDelegate.m b/Source/SPConnectionControllerDelegate.m index eee6f44d..96414cc0 100644 --- a/Source/SPConnectionControllerDelegate.m +++ b/Source/SPConnectionControllerDelegate.m @@ -430,6 +430,11 @@ static NSString *SPQuickConnectImageWhite = @"quick-connect-icon-white.pdf"; { id field = [notification object]; + // Ignore changes in the outline view edit fields + if ([field isKindOfClass:[NSOutlineView class]]) { + return; + } + // If a 'name' field was edited, and is now of zero length, trigger a replacement // with a standard suggestion if (((field == standardNameField) || (field == socketNameField) || (field == sshNameField)) && [self selectedFavoriteNode]) { -- cgit v1.2.3