소스 검색

Make sure view is at front when shown

Ross Ferguson 5 년 전
부모
커밋
01c83e8983
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      Terminal.Gui/Views/TextFieldAutoComplete.cs

+ 2 - 0
Terminal.Gui/Views/TextFieldAutoComplete.cs

@@ -194,7 +194,9 @@ namespace Terminal.Gui {
 
 			listview.SetSource (searchset.ToList ());
 			listview.Height = CalculatetHeight ();
+
 			listview.Redraw (new Rect (0, 0, width, height)); // for any view behind this
+			this.SuperView?.BringSubviewToFront (this);
 		}
 
 		/// <summary>