mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-26 12:08:37 +08:00
Fix issue MR-176 - Del key while editing connection name triggers 'Delete Connection'
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
Fix issue MR-99 - Integrate Spanish translation
|
||||
Fix issue MR-131 - RD Gateway does not respect setting for use different credentials
|
||||
Fix issue MR-172 - RDGatewayPassword is unencrypted in confCons.xml file
|
||||
Fix issue MR-176 - Del key while editing connection name triggers 'Delete Connection'
|
||||
Fix issue MR-181 - Sessions on startup
|
||||
Fix issue MR-277 - Inheritance configuration button not appear in configuration tab
|
||||
Added compatibility check for "Use FIPS compliant algorithms" security setting.
|
||||
|
||||
@@ -540,8 +540,14 @@ Namespace UI
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
Private Sub tvConnections_BeforeLabelEdit(ByVal sender As Object, ByVal e As System.Windows.Forms.NodeLabelEditEventArgs) Handles tvConnections.BeforeLabelEdit
|
||||
cMenTreeDelete.ShortcutKeys = Keys.None
|
||||
End Sub
|
||||
|
||||
Private Sub tvConnections_AfterLabelEdit(ByVal sender As Object, ByVal e As System.Windows.Forms.NodeLabelEditEventArgs) Handles tvConnections.AfterLabelEdit
|
||||
Try
|
||||
cMenTreeDelete.ShortcutKeys = System.Windows.Forms.Keys.Delete
|
||||
|
||||
If My.Settings.SetHostnameLikeDisplayName Then
|
||||
If TypeOf e.Node.Tag Is mRemoteNG.Connection.Info Then
|
||||
DirectCast(e.Node.Tag, mRemoteNG.Connection.Info).Hostname = e.Label
|
||||
@@ -1005,7 +1011,7 @@ Namespace UI
|
||||
nConI.TreeNode = nNode
|
||||
|
||||
nNode.Tag = nConI
|
||||
connectionList.Add(nConI)
|
||||
ConnectionList.Add(nConI)
|
||||
|
||||
If mRemoteNG.Tree.Node.GetNodeType(Me.tvConnections.SelectedNode) = mRemoteNG.Tree.Node.Type.Connection Then
|
||||
Me.tvConnections.SelectedNode.Parent.Nodes.Add(nNode)
|
||||
|
||||
Reference in New Issue
Block a user