소스 검색

Merge pull request #2421 from BDisp/v2_background-scenario-visible-fix_2420

Fixes #2420. BackgroundWorkerCollection scenario is badly clearing invisible button.
Tig 2 년 전
부모
커밋
9b1a1e7f0e
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      UICatalog/Scenarios/BackgroundWorkerCollection.cs

+ 2 - 2
UICatalog/Scenarios/BackgroundWorkerCollection.cs

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