浏览代码

Fixes #2420. BackgroundWorkerCollection scenario is badly clearing invisible button.

BDisp 2 年之前
父节点
当前提交
ca8455fd96
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      UICatalog/Scenarios/BackgroundWorkerCollection.cs

+ 1 - 1
UICatalog/Scenarios/BackgroundWorkerCollection.cs

@@ -327,7 +327,7 @@ namespace UICatalog.Scenarios {
 				};
 				Add (listView);
 
-				start = new Button ("Start") { IsDefault = true };
+				start = new Button ("Start") { IsDefault = true, ClearOnVisibleFalse = false };
 				start.Clicked += () => {
 					Staging = new Staging (DateTime.Now);
 					RequestStop ();