Fixed Capitalization errors in oemProfiles.json
This commit is contained in:
parent
0f66e65d52
commit
4d84b11706
2 changed files with 3 additions and 3 deletions
|
|
@ -128,7 +128,7 @@ namespace MatterHackers.MatterControl.SettingsManagement
|
|||
private void Deserialized(StreamingContext context)
|
||||
{
|
||||
// Load from StaticData to prepopulate oemProfiles for when user create a printer before load cacheable is done
|
||||
OemProfiles = JsonConvert.DeserializeObject<OemProfileDictionary>(StaticData.Instance.ReadAllText(Path.Combine("Profiles", "oemprofiles.json")));
|
||||
OemProfiles = JsonConvert.DeserializeObject<OemProfileDictionary>(StaticData.Instance.ReadAllText(Path.Combine("Profiles", "oemProfiles.json")));
|
||||
|
||||
var manufacturesList = OemProfiles.Keys.ToDictionary(oem => oem).ToList();
|
||||
SetManufacturers(manufacturesList);
|
||||
|
|
@ -143,7 +143,7 @@ namespace MatterHackers.MatterControl.SettingsManagement
|
|||
}
|
||||
|
||||
var oemProfiles = await ApplicationController.LoadCacheableAsync<OemProfileDictionary>(
|
||||
"oemprofiles.json",
|
||||
"oemProfiles.json",
|
||||
"profiles",
|
||||
ApplicationController.GetPublicProfileList);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue