Skip to content

Commit

Permalink
Update method call for LoadSettingsFromFile
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraser Greenroyd committed Feb 27, 2024
1 parent e2b4e57 commit ac8da09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BHoM_Windows_UI/Settings/SearchSettingsWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ private void LoadSettings(object sender, EventArgs e)
try
{
BH.Engine.Base.Compute.ThrowErrorsAsExceptions(true);
BH.Engine.Settings.Compute.LoadSettings(filePath);
BH.Engine.Settings.Compute.LoadSettingsFromFile(filePath);
BH.Engine.Base.Compute.ThrowErrorsAsExceptions(false);

var existingSettings = Query.GetSettings(typeof(BH.oM.UI.SearchSettings)) as SearchSettings;
Expand Down

0 comments on commit ac8da09

Please sign in to comment.