Save settings after every solved puzzle
This commit is contained in:
parent
ad91b2065e
commit
0eceb5e3e3
@ -108,6 +108,12 @@ namespace EduNetworkBuilder
|
|||||||
return Path.Combine(BaseDir, FileName);
|
return Path.Combine(BaseDir, FileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public void Save()
|
||||||
|
{
|
||||||
|
Save(NB.IsRunningOnMono());
|
||||||
|
}
|
||||||
|
|
||||||
public void Save(bool UsingMono)
|
public void Save(bool UsingMono)
|
||||||
{
|
{
|
||||||
if(UsingMono)
|
if(UsingMono)
|
||||||
|
@ -813,6 +813,7 @@ namespace EduNetworkBuilder
|
|||||||
if (!oursettings.ScoreList.Contains(PuzzleName))
|
if (!oursettings.ScoreList.Contains(PuzzleName))
|
||||||
{
|
{
|
||||||
oursettings.ScoreList.Add(PuzzleName);
|
oursettings.ScoreList.Add(PuzzleName);
|
||||||
|
oursettings.Save();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//kill all extra windows that no longer need to be open.
|
//kill all extra windows that no longer need to be open.
|
||||||
|
Loading…
Reference in New Issue
Block a user