Sfoglia il codice sorgente

Fixed unit tests: Border.Title was getting unset

Tigger Kindel 2 anni fa
parent
commit
ebd9eb4447
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      Terminal.Gui/Core/Window.cs

+ 1 - 0
Terminal.Gui/Core/Window.cs

@@ -308,6 +308,7 @@ namespace Terminal.Gui {
 			ClearNeedsDisplay ();
 
 			Driver.SetAttribute (GetNormalColor ());
+			Border.Title = Title; //  not sure why Title is getting un-set
 			Border.DrawContent (this, false);
 		}