From fc7e8255a2f6c2da49a319adbfba572378223a72 Mon Sep 17 00:00:00 2001 From: BDisp Date: Thu, 28 May 2020 14:09:53 +0100 Subject: [PATCH] Placing in the right place in the Core folder. --- Terminal.Gui/Core/Toplevel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Terminal.Gui/Core/Toplevel.cs b/Terminal.Gui/Core/Toplevel.cs index c2fc5d273..3386d7f03 100644 --- a/Terminal.Gui/Core/Toplevel.cs +++ b/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);