Browse Source

ComboBox. Fix #742

Ross Ferguson 5 years ago
parent
commit
5eb5b72658
1 changed files with 6 additions and 0 deletions
  1. 6 0
      Terminal.Gui/Views/ComboBox.cs

+ 6 - 0
Terminal.Gui/Views/ComboBox.cs

@@ -254,6 +254,12 @@ namespace Terminal.Gui {
 				return false; // allow tab-out to next control
 				return false; // allow tab-out to next control
 			}
 			}
 
 
+			if(e.Key == Key.BackTab) {
+				base.ProcessKey (e);
+				this.FocusPrev ();
+				return false; // allow tab-out to prev control
+			}
+
 			if (e.Key == Key.Enter && listview.HasFocus) {
 			if (e.Key == Key.Enter && listview.HasFocus) {
 				Selected ();
 				Selected ();
 				return true;
 				return true;