Skip to content

Commit ef6b580

Browse files
author
Stefan Ruepp
committed
only save an reload config if needed
1 parent 8fa7e5b commit ef6b580

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

EveChatNotifier/FormMain.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,11 @@ public FormMain()
5050
Properties.Settings.Default.EveChatLogsPath = "%DEFAULT_EVELOGPATH%";
5151
pathFix = true;
5252
}
53-
Properties.Settings.Default.Save();
54-
Properties.Settings.Default.Reload();
53+
if(pathFix)
54+
{
55+
Properties.Settings.Default.Save();
56+
Properties.Settings.Default.Reload();
57+
}
5558

5659
// set real paths
5760
PathEveChatLogs = PathHelper.DecryptPath(Properties.Settings.Default.EveChatLogsPath);

0 commit comments

Comments
 (0)