Browse Source

QuitToplevel on OverlappedTop must only closing the Current view.

BDisp 1 year ago
parent
commit
ed697a21cd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Terminal.Gui/Views/Toplevel.cs

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

@@ -803,7 +803,7 @@ public partial class Toplevel : View
     {
         if (Application.OverlappedTop is { })
         {
-            Application.OverlappedTop.RequestStop ();
+            RequestStop (this);
         }
         else
         {