Explorar el Código

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

Sebastian Stenzel hace 5 años
padre
commit
111e500928
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  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">