applying patch provided by Toomix in #1057 and merged in 7dbef77

This commit is contained in:
David Sparer
2018-08-01 07:01:45 -05:00
parent 3e33170ae0
commit 11baae3107

View File

@@ -297,8 +297,11 @@ namespace mRemoteNG.UI.Controls
public void RenameSelectedNode()
{
_allowEdit = true;
SelectedItem.BeginEdit();
if (SelectedItem != null)
{
_allowEdit = true;
SelectedItem.BeginEdit();
}
}
public void DeleteSelectedNode()
@@ -472,4 +475,4 @@ namespace mRemoteNG.UI.Controls
}
#endregion
}
}
}