Fix issue MR-355 - Moving sub folders to top level causes property loss

This commit is contained in:
Riley McArdle
2013-03-06 22:58:53 -06:00
parent a61fb5c6d6
commit 6d21c85d98
2 changed files with 3 additions and 3 deletions

View File

@@ -2,6 +2,7 @@
Fixed issue MR-340 - Object reference not set to an instance of an object.
Fixed issue MR-344 - Move "Always show panel tabs" option
Fixed issue MR-350 - VerifyDatabaseVersion (Config.Connections.Save) failed. Version string portion was too short or too long.
Fixed issue MR-355 - Moving sub folders to top level causes property loss
Fixed tabs not closing on double-click when the active tab is a PuTTY connection.
1.70 (2013-02-25):

View File

@@ -766,7 +766,6 @@ Namespace UI
Exit Sub
End If
If dropNode Is targetNode.Parent Then
Exit Sub
End If
@@ -790,9 +789,9 @@ Namespace UI
ElseIf mRemoteNG.Tree.Node.GetNodeType(dropNode.Parent) = mRemoteNG.Tree.Node.Type.Root Then
dropNode.Tag.Parent = Nothing
If mRemoteNG.Tree.Node.GetNodeType(dropNode) = mRemoteNG.Tree.Node.Type.Connection Then
dropNode.Tag.Inherit = New mRemoteNG.Connection.Info.Inheritance(dropNode.Tag, False)
dropNode.Tag.Inherit.TurnOffInheritanceCompletely()
ElseIf mRemoteNG.Tree.Node.GetNodeType(dropNode) = mRemoteNG.Tree.Node.Type.Container Then
dropNode.Tag.ConnectionInfo.Inherit = New mRemoteNG.Connection.Info.Inheritance(dropNode.Tag.ConnectionInfo, False)
dropNode.Tag.ConnectionInfo.Inherit.TurnOffInheritanceCompletely()
End If
End If
End If