Browse Source

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

BDisp 2 years ago
parent
commit
ca8455fd96
1 changed files with 1 additions and 1 deletions
  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 ();