From 7a91e54b7b88d41e0290b9a3ab5ae432544a9766 Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Sun, 31 Jan 2021 09:10:04 +1000 Subject: [PATCH] Set DialogResult in AutofireConfig see #2599 --- src/BizHawk.Client.EmuHawk/config/AutofireConfig.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/BizHawk.Client.EmuHawk/config/AutofireConfig.cs b/src/BizHawk.Client.EmuHawk/config/AutofireConfig.cs index ac9e94d8a4..ed95eb8311 100644 --- a/src/BizHawk.Client.EmuHawk/config/AutofireConfig.cs +++ b/src/BizHawk.Client.EmuHawk/config/AutofireConfig.cs @@ -60,11 +60,13 @@ namespace BizHawk.Client.EmuHawk _config.AutofireLagFrames = cbConsiderLag.Checked; _stickyXorAdapter.SetOnOffPatternFromConfig(_config.AutofireOn, _config.AutofireOff); + DialogResult = DialogResult.OK; Close(); } private void btnDialogCancel_Click(object sender, EventArgs e) { + DialogResult = DialogResult.Cancel; Close(); } }