aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAigleSpartiate <46538675+AigleSpartiate@users.noreply.github.com>2020-12-26 15:59:41 +0100
committerGitHub <noreply@github.com>2020-12-26 15:59:41 +0100
commit9a808fe48471f51fbb9685a7d7d2f3adcf3df793 (patch)
tree0bee2a95f0bf1b9705a81a0912be0802a9c02ec4
parentd05db79a3e780e51d69bbf1694d601da2b5791fc (diff)
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.
-rw-r--r--Ryujinx/Updater/UpdateDialog.cs4
1 files 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)