Explorar el Código

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

BDisp hace 2 años
padre
commit
ca8455fd96
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 ();