The AD Importer should not close immidiately after importing.

Description

Until the AD importer can be changed to import multiple sub OUs the tab should not close immediately after Importing a single OU, This below diff should change the button from &OK to &Import and axe it from closing the tab

diff --git a/mRemoteV1/UI/UI.Window.ADImport.vb b/mRemoteV1/UI/UI.Window.ADImport.vb
index 90a8664..78a2f90 100644
— a/mRemoteV1/UI/UI.Window.ADImport.vb
+++ b/mRemoteV1/UI/UI.Window.ADImport.vb
@@ -32,7 +30,7 @@ Namespace UI
Me.btnOK.Name = "btnOK"
Me.btnOK.Size = New System.Drawing.Size(75, 23)
Me.btnOK.TabIndex = 100

  • Me.btnOK.Text = "&Import"
    + Me.btnOK.Text = Global.mRemoteNG.My.Resources.Resources.strButtonOK
    Me.btnOK.UseVisualStyleBackColor = True
    '
    'btnCancel
    @@ -149,7 +147,7 @@ Namespace UI
    Me._ADPath = Me.AD.ADPath
    mRemoteNG.Tree.Node.AddADNodes(Me._ADPath)
    Me.DialogResult = Windows.Forms.DialogResult.OK

  • Me.Close()

End Sub

Private Sub btnCancel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCancel.Click

Environment

Windows 7

Status

Assignee

Sean K

Reporter

Jason Barbier

Labels

None

Fix versions

Affects versions

Priority

Major
Configure