Refacotring
Adding GitHub personal access token option
This commit is contained in:
parent
23313cdd41
commit
a23857c6eb
8 changed files with 58 additions and 6 deletions
|
|
@ -173,7 +173,7 @@ namespace MatterHackers.MatterControl.DesignTools.Operations
|
|||
parentLock?.Dispose();
|
||||
|
||||
// and select this
|
||||
var rootItem = this.Ancestors().Where(i => scene.Children.Contains(i)).FirstOrDefault();
|
||||
var rootItem = this.Parents().Where(i => scene.Children.Contains(i)).FirstOrDefault();
|
||||
if (rootItem != null)
|
||||
{
|
||||
scene.SelectedItem = rootItem;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue