瀏覽代碼

Merge pull request #1354 from tznind/main

Fix for #1353 (tab view not refreshing in some circumstances)
Charlie Kindel 4 年之前
父節點
當前提交
3c1fa5f2b1
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Terminal.Gui/Views/TabView.cs

+ 2 - 1
Terminal.Gui/Views/TabView.cs

@@ -179,6 +179,7 @@ namespace Terminal.Gui {
 
 			if (Tabs.Any ()) {
 				tabsBar.Redraw (tabsBar.Bounds);
+				contentView.SetNeedsDisplay();
 				contentView.Redraw (contentView.Bounds);
 			}
 		}
@@ -840,4 +841,4 @@ namespace Terminal.Gui {
 		}
 		#endregion
 	}
-}
+}