aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobProgressViewVM.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2021-08-13 18:23:10 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2021-08-13 18:23:10 +0300
commitd893615f04bdbb7e9de0f16e097f59ee29794039 (patch)
tree3c4a2981ebec98f32c55c10780b53633e78cf537 /Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobProgressViewVM.cs
parentb7f1dc37a15a354ef7fae439bbcedf1f2133189c (diff)
downloadTango-d893615f04bdbb7e9de0f16e097f59ee29794039.tar.gz
Tango-d893615f04bdbb7e9de0f16e097f59ee29794039.zip
Same as previous.
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.cs12
1 files changed, 11 insertions, 1 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 efe6b8e74..b5f122a5f 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
@@ -6,6 +6,7 @@ using System.Threading.Tasks;
using Tango.BL.Entities;
using Tango.Core.Commands;
using Tango.Integration.Operation;
+using Tango.Logging;
using Tango.PMR.Printing;
using Tango.PPC.Common;
using Tango.PPC.Common.Navigation;
@@ -182,7 +183,16 @@ namespace Tango.PPC.Jobs.ViewModels
private void MachineOperator_PrintingEnded(object sender, PrintingEventArgs e)
{
- _stop_job_btn?.Pop();
+ LogManager.Log("Printing ended, popping job stop button...");
+
+ if (_stop_job_btn != null)
+ {
+ _stop_job_btn.Pop();
+ }
+ else
+ {
+ LogManager.Log("Job stop button instance was null!", LogCategory.Warning);
+ }
}
/// <summary>