Skip to content

Commit

Permalink
DYN-6769 Improving Dynamo Load Graph II - 2
Browse files Browse the repository at this point in the history
Disabling the DefaultNodeAutocomplete functionality when Dynamo is in ServiceMode.
  • Loading branch information
RobertGlobant20 committed Apr 18, 2024
1 parent 5f255b1 commit fdee98e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/DynamoCoreWpf/ViewModels/Core/DynamoViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,11 @@ protected DynamoViewModel(StartConfiguration startConfiguration)

//add the initial workspace and register for future
//updates to the workspaces collection
SearchDefaultNodeAutocompleteCandidates();
if(!Model.IsServiceMode)
{
SearchDefaultNodeAutocompleteCandidates();
}

var homespaceViewModel = new HomeWorkspaceViewModel(model.CurrentWorkspace as HomeWorkspaceModel, this);
workspaces.Add(homespaceViewModel);
currentWorkspaceViewModel = homespaceViewModel;
Expand Down

0 comments on commit fdee98e

Please sign in to comment.