aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobsViewVM.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-03-05 14:53:49 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-03-05 14:53:49 +0200
commit499f4facfe296d984a44e9ce0b6e1eb23ba8d644 (patch)
treebf554330362404128c36321a4fce3fd927caea82 /Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobsViewVM.cs
parentb292fb7ff234a973670ebf9e54b9e111a90f3639 (diff)
downloadTango-499f4facfe296d984a44e9ce0b6e1eb23ba8d644.tar.gz
Tango-499f4facfe296d984a44e9ce0b6e1eb23ba8d644.zip
Improvements and bug fixes on PPC.
Diffstat (limited to 'Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobsViewVM.cs')
-rw-r--r--Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobsViewVM.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobsViewVM.cs b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobsViewVM.cs
index d29323412..c87d3585b 100644
--- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobsViewVM.cs
+++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobsViewVM.cs
@@ -271,7 +271,7 @@ namespace Tango.PPC.Jobs.ViewModels
{
LogManager.Log($"Job '{job.Name}' selected.");
- if (!directlyToEdit)
+ if (!directlyToEdit && MachineProvider.MachineOperator.Status == Integration.Operation.MachineStatuses.ReadyToDye)
{
await NavigationManager.NavigateTo<JobsModule>(nameof(JobSummeryView));
}