Browse Source

Fixed unit tests: Border.Title was getting unset

Tigger Kindel 2 years ago
parent
commit
ebd9eb4447
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Terminal.Gui/Core/Window.cs

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

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