Merge pull request #1181 from mmoening/master
Fixed Capitalization errors in oemProfiles.json
This commit is contained in:
commit
d6c8cb9b04
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);
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ namespace MatterControl.Tests.MatterControl
|
|||
/*
|
||||
StaticData.Instance = new MatterHackers.Agg.FileSystemStaticData(Path.Combine("..", "..", "..", "..", "StaticData"));
|
||||
|
||||
string profilePath = Path.Combine(ApplicationDataStorage.ApplicationUserDataPath, "data", "temp", "cache", "profiles", "oemprofiles.json");
|
||||
string profilePath = Path.Combine(ApplicationDataStorage.ApplicationUserDataPath, "data", "temp", "cache", "profiles", "oemProfiles.json");
|
||||
|
||||
//MatterControlUtilities.OverrideAppDataLocation();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue