Skip to content

Commit 3b7efbd

Browse files
committed
fix(Studio): Info-Template form closing when pressing C or O
These keys were interpreted as shortcuts on WPF
1 parent 17a4e22 commit 3b7efbd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Studio/CelesteStudio/Dialog/InfoTemplateForm.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ await Application.Instance.InvokeAsync(() => {
5959

6060
CommunicationWrapper.SetCustomInfoTemplate(string.Join('\n', lines));
6161
Close();
62-
}) { Text = "&OK" };
63-
var cancelButton = new Button((_, _) => Close()) { Text = "&Cancel" };
62+
}) { Text = "OK" };
63+
var cancelButton = new Button((_, _) => Close()) { Text = "Cancel" };
6464
var buttonsLayout = new DynamicLayout();
6565
buttonsLayout.BeginHorizontal();
6666
buttonsLayout.Add(cancelButton);

0 commit comments

Comments
 (0)