mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
Some small changes for a dirty flag in the configuration
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@812 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
09f5dda19f
commit
5ce61bc8e6
1 changed files with 4 additions and 3 deletions
|
@ -39,7 +39,6 @@ using Greenshot.Forms;
|
|||
using Greenshot.Helpers;
|
||||
using Greenshot.Plugin;
|
||||
using Greenshot.UnmanagedHelpers;
|
||||
using GreenshotCore.Configuration;
|
||||
|
||||
namespace Greenshot {
|
||||
/// <summary>
|
||||
|
@ -84,12 +83,14 @@ namespace Greenshot {
|
|||
|
||||
// Read configuration
|
||||
coreConfiguration = IniConfig.GetInstance().GetSection<CoreConfiguration>();
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue