Parcourir la source

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

Sebastian Stenzel il y a 5 ans
Parent
commit
111e500928
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  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">