소스 검색

Reverted Current change

Tig 1 년 전
부모
커밋
08fcf05fa6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Terminal.Gui/Application/Application.cs

+ 1 - 1
Terminal.Gui/Application/Application.cs

@@ -1239,7 +1239,7 @@ public static partial class Application
     ///     Only relevant in scenarios where <see cref="Toplevel.IsOverlappedContainer"/> is <see langword="true"/>.
     /// </remarks>
     /// <value>The current.</value>
-    public static Toplevel Current { get; internal set; }
+    public static Toplevel Current { get; private set; }
 
     private static void EnsureModalOrVisibleAlwaysOnTop (Toplevel topLevel)
     {