Skip to content

Commit d4689cd

Browse files
author
René Heidrich
committed
ReadAllText from correct file in UserSettingsManager.LoadFileSettings
1 parent 9bb13a8 commit d4689cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Analogy.LogViewer.Serilog/Managers/UserSettingsManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ private bool LoadFileSettings(string localSettingFileName, bool optional)
3737
{
3838
ObjectCreationHandling = ObjectCreationHandling.Replace
3939
};
40-
string data = File.ReadAllText(SerilogPerUserFileSetting);
40+
string data = File.ReadAllText(localSettingFileName);
4141
Settings = JsonConvert.DeserializeObject<SerilogSettings>(data, settings);
4242
if (string.IsNullOrEmpty(Settings.FileOpenDialogFilters))
4343
{

0 commit comments

Comments
 (0)