Skip to content

Commit 72294d2

Browse files
authored
Fix auto focus TypeInDialog not accepting keyboard inputs (#1748)
1 parent bb763eb commit 72294d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OpenUtau/Views/TypeInDialog.axaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public partial class TypeInDialog : Window {
1010
public TypeInDialog() {
1111
InitializeComponent();
1212
OkButton.Click += OkButtonClick;
13-
TextBox.AttachedToVisualTree += (s, e) => TextBox.SelectAll();
13+
TextBox.AttachedToVisualTree += (s, e) => { TextBox.SelectAll(); TextBox.Focus(); };
1414
}
1515

1616
public void SetPrompt(string prompt) {

0 commit comments

Comments
 (0)