Browse Source

Fix build

Ross Ferguson 5 years ago
parent
commit
81e3627881
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Terminal.Gui/Views/TextFieldAutoComplete.cs

+ 1 - 1
Terminal.Gui/Views/TextFieldAutoComplete.cs

@@ -67,7 +67,7 @@ namespace Terminal.Gui {
 			this.Add(search);
 			this.Add(search);
 			this.SetFocus(search);
 			this.SetFocus(search);
 
 
-			this.OnEnter += (object sender, EventArgs e) => {
+			this.Enter += (object sender, EventArgs e) => {
 				this.SetFocus(search);
 				this.SetFocus(search);
 				search.CursorPosition = search.Text.Length;
 				search.CursorPosition = search.Text.Length;
 			};
 			};