From 82b0e6d4d987ca1da47940be465b04c542af702b Mon Sep 17 00:00:00 2001 From: Thomas McGrew Date: Tue, 19 Oct 2021 22:04:02 -0400 Subject: [PATCH] Fix for mono not saving settings --- GUI.NET/Forms/BaseConfigForm.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/GUI.NET/Forms/BaseConfigForm.cs b/GUI.NET/Forms/BaseConfigForm.cs index d22330df..89cd12c1 100644 --- a/GUI.NET/Forms/BaseConfigForm.cs +++ b/GUI.NET/Forms/BaseConfigForm.cs @@ -148,11 +148,13 @@ namespace Mesen.GUI.Forms private void btnOK_Click(object sender, EventArgs e) { + this.DialogResult = ((Button)sender).DialogResult; this.Close(); } private void btnCancel_Click(object sender, EventArgs e) { + this.DialogResult = ((Button)sender).DialogResult; this.Close(); } }