Clear one time settings on import from DB
Make sure we don't show create printers if imported printers from DB Make sure we don't crash if can't find date in oemlayer
This commit is contained in:
parent
ce6ae492a1
commit
49efa92ee3
3 changed files with 27 additions and 1 deletions
|
|
@ -132,6 +132,11 @@ namespace MatterHackers.MatterControl.DataStorage.ClassicDB
|
|||
|
||||
layeredProfile.UserLayer["manual_movement_speeds"] = printer.ManualMovementSpeeds;
|
||||
|
||||
// make sure we clear the one time settings
|
||||
layeredProfile.OemLayer["spiral_vase"] = "";
|
||||
layeredProfile.OemLayer["bottom_clip_amount"] = "";
|
||||
layeredProfile.OemLayer["layer_to_pause"] = "";
|
||||
|
||||
// TODO: Where can we find CalibrationFiiles in the current model?
|
||||
//layeredProfile.SetActiveValue(""calibration_files"", ???);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue