use instance for global events
This commit is contained in:
@@ -136,8 +136,9 @@
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
GlobalEvents.Instance = new GlobalEvents();
|
||||
await LoadSolutionFromInteractivePicker(AppState.IdeSettings.AutoOpenLastSolution);
|
||||
GlobalEvents.StartedRunningProject += OnStartedRunningProject;
|
||||
GlobalEvents.Instance.StartedRunningProject += OnStartedRunningProject;
|
||||
}
|
||||
|
||||
private void OnProblemSelected(SharpIdeFile file)
|
||||
|
||||
Reference in New Issue
Block a user