aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobProgressViewVM.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobProgressViewVM.cs')
-rw-r--r--Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobProgressViewVM.cs8
1 files changed, 1 insertions, 7 deletions
diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobProgressViewVM.cs b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobProgressViewVM.cs
index d9f961479..26b903ce0 100644
--- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobProgressViewVM.cs
+++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobProgressViewVM.cs
@@ -35,13 +35,7 @@ namespace Tango.PPC.Jobs.ViewModels
public override void OnApplicationStarted()
{
- MachineProvider.MachineOperatorChanged += MachineProvider_MachineOperatorChanged;
- }
-
- private void MachineProvider_MachineOperatorChanged(object sender, Common.Connection.MachineOperatorChangedEventArgs e)
- {
- e.NewMachineOperator.PrintingStarted -= PrintingStarted;
- e.NewMachineOperator.PrintingStarted += PrintingStarted;
+ MachineProvider.MachineOperator.PrintingStarted += PrintingStarted;
}
private void PrintingStarted(object sender, JobHandler jobHandler)