From 5513ba4c2db05de40d9adfac645d7e77c35c71f7 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Tue, 4 Dec 2018 14:11:29 +0200 Subject: Worked on PPC setup & update. --- .../PPC/Tango.PPC.UI/PPCApplication/DefaultPPCApplicationManager.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/PPCApplication/DefaultPPCApplicationManager.cs') diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/PPCApplication/DefaultPPCApplicationManager.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/PPCApplication/DefaultPPCApplicationManager.cs index 957a4ee1d..6b566dcd2 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/PPCApplication/DefaultPPCApplicationManager.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/PPCApplication/DefaultPPCApplicationManager.cs @@ -171,8 +171,6 @@ namespace Tango.PPC.UI.PPCApplication _machine = new MachineBuilder(ObservablesContext.CreateDefault()).SetFirst().WithOrganization().WithConfiguration().Build(); } - _eventLogger.Log(EventTypes.ApplicationStarted, "Application Started!"); - initialized = true; } catch (Exception ex) @@ -214,6 +212,7 @@ namespace Tango.PPC.UI.PPCApplication { LogManager.Log($"Raising {nameof(ApplicationStarted)} event..."); + _eventLogger.Log(EventTypes.ApplicationStarted, "Application Started!"); ApplicationStarted?.Invoke(this, new EventArgs()); LogManager.Log("Invoking PPC view models OnApplicationStarted methods..."); -- cgit v1.3.1