Explorar o código

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.
AigleSpartiate %!s(int64=5) %!d(string=hai) anos
pai
achega
9a808fe484
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Ryujinx/Updater/UpdateDialog.cs

+ 2 - 2
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)