diff --git a/Greenshot/Forms/MainForm.cs b/Greenshot/Forms/MainForm.cs index 20b84403f..5495c8d1b 100644 --- a/Greenshot/Forms/MainForm.cs +++ b/Greenshot/Forms/MainForm.cs @@ -39,7 +39,6 @@ using Greenshot.Forms; using Greenshot.Helpers; using Greenshot.Plugin; using Greenshot.UnmanagedHelpers; -using GreenshotCore.Configuration; namespace Greenshot { /// @@ -84,12 +83,14 @@ namespace Greenshot { // Read configuration coreConfiguration = IniConfig.GetInstance().GetSection(); - IniConfig.GetInstance().Save(); + if (coreConfiguration.IsDirty) { + IniConfig.GetInstance().Save(); + } LOG.Info("Firstlaunch: " + coreConfiguration.IsFirstLaunch); LOG.Info("Destinations:"); if (coreConfiguration.OutputDestinations != null) { foreach(Destinations destination in coreConfiguration.OutputDestinations) { - LOG.Info(destination); + LOG.Info("\t" + destination); } }