Game configurations are now saved as soon as the configuration dialog is closed

Program preferences are now saved as soon as the configuration dialog is closed
Recent files are now saved as soon as an existing map is loaded
This commit is contained in:
biwa 2021-04-02 12:13:22 +02:00
parent 95f5c719b7
commit fe71e53edc
3 changed files with 41 additions and 10 deletions

View file

@ -415,6 +415,8 @@ namespace CodeImp.DoomBuilder.Windows
General.Configs[i].Enabled = ci.Enabled;
if(ci.Changed) General.Configs[i].Apply(ci);
}
General.SaveGameSettings();
// Close
this.DialogResult = DialogResult.OK;