浏览代码

Fixed Config editor 2

Tig 11 月之前
父节点
当前提交
4a4589e714
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Terminal.Gui/View/View.Hierarchy.cs

+ 1 - 1
Terminal.Gui/View/View.Hierarchy.cs

@@ -51,7 +51,7 @@ public partial class View // SuperView/SubView hierarchy management (SuperView,
         Debug.WriteLineIf (_subviews.Contains (view), $"BUGBUG: {view} has already been added to {this}.");
         Debug.WriteLineIf (_subviews.Contains (view), $"BUGBUG: {view} has already been added to {this}.");
 
 
         // TileView likes to add views that were previously added and have HasFocus = true. No bueno.
         // TileView likes to add views that were previously added and have HasFocus = true. No bueno.
-        HasFocus = false;
+        view.HasFocus = false;
 
 
         _subviews.Add (view);
         _subviews.Add (view);
         view._superView = this;
         view._superView = this;