diff --git a/src/DynamoCoreWpf/UI/GuidedTour/GuidesManager.cs b/src/DynamoCoreWpf/UI/GuidedTour/GuidesManager.cs index 0dbff9de071..6c7c31d1146 100644 --- a/src/DynamoCoreWpf/UI/GuidedTour/GuidesManager.cs +++ b/src/DynamoCoreWpf/UI/GuidedTour/GuidesManager.cs @@ -224,7 +224,7 @@ private void TourFinished(GuidedTourStateEventArgs args) /// /// This method exits from tour /// - internal void ExitTour() + private void ExitTour() { if (currentGuide != null) diff --git a/src/DynamoCoreWpf/ViewModels/Core/DynamoViewModel.cs b/src/DynamoCoreWpf/ViewModels/Core/DynamoViewModel.cs index 46a13b0d5cb..b37ad11f3aa 100644 --- a/src/DynamoCoreWpf/ViewModels/Core/DynamoViewModel.cs +++ b/src/DynamoCoreWpf/ViewModels/Core/DynamoViewModel.cs @@ -1104,7 +1104,6 @@ void _model_PropertyChanged(object sender, PropertyChangedEventArgs e) RaisePropertyChanged("IsPanning"); RaisePropertyChanged("IsOrbiting"); //RaisePropertyChanged("RunEnabled"); - ExitGuidedTourIfOpened(); break; case "EnablePresetOptions": @@ -1113,12 +1112,6 @@ void _model_PropertyChanged(object sender, PropertyChangedEventArgs e) } } - private void ExitGuidedTourIfOpened() - { - if (GuideFlowEvents.IsAnyGuideActive) - MainGuideManager.ExitTour(); - } - // TODO(Sriram): This method is currently not used, but it should really // be. It watches property change notifications coming from the current // WorkspaceModel, and then enables/disables 'set timer' button on the UI.