Lots of work on Getting the QueueData instance to be separate form the UI queue and refs.
This commit is contained in:
parent
49c8a045a5
commit
4b6a3cfa97
40 changed files with 586 additions and 1534 deletions
|
|
@ -59,10 +59,8 @@ namespace MatterHackers.MatterControl.PrinterControls.PrinterConnections
|
|||
foreach (string partFile in calibrationPrints)
|
||||
{
|
||||
string partFullPath = Path.Combine(ApplicationDataStorage.Instance.ApplicationStaticDataPath, "OEMSettings", "SampleParts", partFile);
|
||||
PrintQueueControl.Instance.AddChild(new PrintQueueItem(Path.GetFileNameWithoutExtension(partFullPath), partFullPath));
|
||||
QueueData.Instance.AddItem(new PrintItem(Path.GetFileNameWithoutExtension(partFullPath), partFullPath));
|
||||
}
|
||||
PrintQueue.PrintQueueControl.Instance.EnsureSelection();
|
||||
PrintQueueControl.Instance.SaveDefaultQueue();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue