Explorar o código

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

Sebastian Stenzel %!s(int64=5) %!d(string=hai) anos
pai
achega
111e500928
Modificáronse 1 ficheiros con 1 adicións e 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">