From 5dfc36680bc4977f8a6f7dfe35201ea1a258fcf4 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 76143181a7..ed49ad4a89 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)