From ac8da0968791dfc1245e5c160b7ddbe1c521365e Mon Sep 17 00:00:00 2001 From: Fraser Greenroyd Date: Tue, 27 Feb 2024 11:50:24 +0000 Subject: [PATCH] Update method call for LoadSettingsFromFile --- BHoM_Windows_UI/Settings/SearchSettingsWindow.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BHoM_Windows_UI/Settings/SearchSettingsWindow.xaml.cs b/BHoM_Windows_UI/Settings/SearchSettingsWindow.xaml.cs index dbb551d..988ffad 100644 --- a/BHoM_Windows_UI/Settings/SearchSettingsWindow.xaml.cs +++ b/BHoM_Windows_UI/Settings/SearchSettingsWindow.xaml.cs @@ -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;