소스 검색

only show migration's progressbar when there actually is any progress

Sebastian Stenzel 5 년 전
부모
커밋
111e500928
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      main/ui/src/main/resources/fxml/migration_run.fxml

+ 1 - 2
main/ui/src/main/resources/fxml/migration_run.fxml

@@ -24,8 +24,7 @@
 			<NiceSecurePasswordField fx:id="passwordField"/>
 		</VBox>
 
-		<ProgressBar progress="${controller.migrationProgress}" prefWidth="Infinity"/>
-		<FormattedLabel format="progress: %.3f" arg1="${controller.migrationProgress}"/>
+		<ProgressBar progress="${controller.migrationProgress}" prefWidth="Infinity" visible="${controller.vault.processing}"/>
 
 		<VBox alignment="BOTTOM_CENTER" VBox.vgrow="ALWAYS">
 			<ButtonBar buttonMinWidth="120" buttonOrder="B+X">