Browse Source

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

BDisp 2 năm trước cách đây
mục cha
commit
ca8455fd96
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 ();