Explorar o código

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

BDisp %!s(int64=2) %!d(string=hai) anos
pai
achega
ca8455fd96
Modificáronse 1 ficheiros con 1 adicións e 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 ();