From 9a808fe48471f51fbb9685a7d7d2f3adcf3df793 Mon Sep 17 00:00:00 2001 From: AigleSpartiate <46538675+AigleSpartiate@users.noreply.github.com> Date: Sat, 26 Dec 2020 15:59:41 +0100 Subject: [PATCH] Fix button press issue (#1836) A small code change to fix the issue that was forcing the user to press the "Yes" button twice to restart Ryujinx after it had been updated, instead of only once. --- Ryujinx/Updater/UpdateDialog.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ryujinx/Updater/UpdateDialog.cs b/Ryujinx/Updater/UpdateDialog.cs index 76143181..ed49ad4a 100644 --- a/Ryujinx/Updater/UpdateDialog.cs +++ b/Ryujinx/Updater/UpdateDialog.cs @@ -36,8 +36,8 @@ namespace Ryujinx.Ui ProgressBar.Hide(); - YesButton.Pressed += YesButton_Pressed; - NoButton.Pressed += NoButton_Pressed; + YesButton.Clicked += YesButton_Pressed; + NoButton.Clicked += NoButton_Pressed; } private void YesButton_Pressed(object sender, EventArgs args)