Ver Fonte

Placing in the right place in the Core folder.

BDisp há 5 anos atrás
pai
commit
fc7e8255a2
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      Terminal.Gui/Core/Toplevel.cs

+ 1 - 1
Terminal.Gui/Core/Toplevel.cs

@@ -260,7 +260,7 @@ namespace Terminal.Gui {
 		{
 			Application.CurrentView = this;
 
-			if (IsCurrentTop) {
+			if (IsCurrentTop || this == Application.Top) {
 				if (NeedDisplay != null && !NeedDisplay.IsEmpty) {
 					Driver.SetAttribute (Colors.TopLevel.Normal);
 					Clear (region);