Migrate make/model settings keys to SettingsKey, revise service urls
This commit is contained in:
parent
58a27356c2
commit
ba41f4ebee
4 changed files with 7 additions and 4 deletions
|
|
@ -68,7 +68,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
activeInstance = value;
|
||||
if (activeInstance != null)
|
||||
{
|
||||
BedSettings.SetMakeAndModel(activeInstance.GetValue("MatterControl_Make"), activeInstance.GetValue("model"));
|
||||
BedSettings.SetMakeAndModel(activeInstance.GetValue(SettingsKey.make), activeInstance.GetValue(SettingsKey.model));
|
||||
}
|
||||
|
||||
SwitchToPrinterTheme(MatterControlApplication.IsLoading);
|
||||
|
|
|
|||
|
|
@ -66,6 +66,8 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
public const string nozzle_diameter = nameof(nozzle_diameter);
|
||||
public const string print_center = nameof(print_center);
|
||||
public const string printer_name = nameof(printer_name);
|
||||
public const string make = nameof(make);
|
||||
public const string model = nameof(model);
|
||||
public const string publish_bed_image = nameof(publish_bed_image);
|
||||
public const string resume_position_before_z_home = nameof(resume_position_before_z_home);
|
||||
public const string z_homes_to_max = nameof(z_homes_to_max);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue