Procházet zdrojové kódy

Make sure view is at front when shown

Ross Ferguson před 5 roky
rodič
revize
250efb96cd
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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>