mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user