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.
This commit is contained in:
AigleSpartiate 2020-12-26 15:59:41 +01:00 committed by GitHub
parent d05db79a3e
commit 9a808fe484
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)