aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/ViewModels
diff options
context:
space:
mode:
authorVictoria Plitt <Victoria.Plitt@twine-s.com>2022-04-24 19:25:10 +0300
committerVictoria Plitt <Victoria.Plitt@twine-s.com>2022-04-24 19:25:10 +0300
commitb9f4b1e11aa2b471ccb577f0abc177da2b685d02 (patch)
treeb7160cdb798fa34e940408a0eae14c0164684b77 /Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/ViewModels
parented4dbaee665dc02925402d2855f7301637ddc76f (diff)
downloadTango-b9f4b1e11aa2b471ccb577f0abc177da2b685d02.tar.gz
Tango-b9f4b1e11aa2b471ccb577f0abc177da2b685d02.zip
PPC- add new empty segment - set Dye button disable
Related Work Items: #6382
Diffstat (limited to 'Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/ViewModels')
-rw-r--r--Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/ViewModels/JobViewVM.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/ViewModels/JobViewVM.cs b/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/ViewModels/JobViewVM.cs
index 3c4a3fef2..0d5671490 100644
--- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/ViewModels/JobViewVM.cs
+++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/ViewModels/JobViewVM.cs
@@ -429,7 +429,7 @@ namespace Tango.PPC.Jobs.ViewModels
LogManager.Log("Loading RMLS...");
Rmls = (await new RmlsCollectionBuilder(_db).SetAll().ForHeadType(MachineProvider.Machine.MachineHeadType).ForSite(MachineProvider.Machine.SiteGuid).BuildAsync()).OrderBy(x => x.FinalName).ToList();
- //Rmls = (await new RmlsCollectionBuilder(_db).SetAll().BuildAsync()).OrderBy(x => x.FinalName).ToList();
+ //Rmls = (await new RmlsCollectionBuilder(_db).SetAll().BuildAsync()).OrderBy(x => x.FinalName).ToList();
LogManager.Log("Loading Color Spaces...");
ColorSpaces = await _db.ColorSpaces.Where(x => x.Code != (int)BL.Enumerations.ColorSpaces.CMYK).ToListAsync();
LogManager.Log("Loading Spool Types...");
@@ -835,6 +835,7 @@ namespace Tango.PPC.Jobs.ViewModels
UndoRedoManager.Instance.InsertAndExecuteCommand(new AddNewSegmentCommand(JobModel, segment, Settings.DefaultSegmentLength > 0 ? Settings.DefaultSegmentLength : 10));
JobModel.JobChanged = true;
ArrangeSegmentsIndixes();
+ DyeCommand.RaiseCanExecuteChanged();
}
catch (Exception ex)
{