From b005814c72494b8f37f99667bd5fa684e48f31c5 Mon Sep 17 00:00:00 2001 From: Isaac Marovitz Date: Thu, 18 May 2023 22:55:03 -0400 Subject: [PATCH] Please be quiet --- src/Ryujinx/UI/Windows/ControllerWindow.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Ryujinx/UI/Windows/ControllerWindow.cs b/src/Ryujinx/UI/Windows/ControllerWindow.cs index 954113443..46fd4224c 100644 --- a/src/Ryujinx/UI/Windows/ControllerWindow.cs +++ b/src/Ryujinx/UI/Windows/ControllerWindow.cs @@ -893,7 +893,7 @@ namespace Ryujinx.UI.Windows } } - string pressedButton = assigner.GetPressedButton(); + object pressedButton = assigner.GetPressedButton(); Application.Invoke(delegate { @@ -903,7 +903,7 @@ namespace Ryujinx.UI.Windows } else if (pressedButton != "") { - button.Label = pressedButton; + button.Label = pressedButton.ToString(); } _middleMousePressed = false; @@ -1227,4 +1227,4 @@ namespace Ryujinx.UI.Windows Dispose(); } } -} +} \ No newline at end of file