resolved a minor bug where creating a new node would screw up the selected node in the tree

We were trying to do multiselection when it is currently not supported by our implementation.
This commit is contained in:
David Sparer
2017-01-17 09:47:00 -07:00
parent 1a776359c4
commit 4e5a22a7e8

View File

@@ -207,7 +207,7 @@ namespace mRemoteNG.UI.Controls
var parent = selectedContainer ?? SelectedNode?.Parent;
newNode.SetParent(parent);
Expand(parent);
SelectObject(newNode);
SelectObject(newNode, true);
EnsureModelVisible(newNode);
}