Merge pull request #53 from mcgrew/preference-save-fix

Fix for settings not saving under mono 6.12
This commit is contained in:
NovaSquirrel 2021-10-19 22:27:13 -04:00 committed by GitHub
commit b471437c4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -148,11 +148,13 @@ namespace Mesen.GUI.Forms
private void btnOK_Click(object sender, EventArgs e) private void btnOK_Click(object sender, EventArgs e)
{ {
this.DialogResult = ((Button)sender).DialogResult;
this.Close(); this.Close();
} }
private void btnCancel_Click(object sender, EventArgs e) private void btnCancel_Click(object sender, EventArgs e)
{ {
this.DialogResult = ((Button)sender).DialogResult;
this.Close(); this.Close();
} }
} }