From fc2103944a66ab1406fbd63b25cf359d7c3456e7 Mon Sep 17 00:00:00 2001 From: Luca Lombardo Date: Mon, 4 Mar 2024 23:28:17 +0100 Subject: [PATCH] Fix label text to display only after file selection --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 1819baa..76410dd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -61,7 +61,7 @@ fn print_utils(window: &ApplicationWindow) -> Box { // add the button to the box box_var.append(&button); - box_var.append(&Label::new(Some("Hai selezionato il file: {file_path}"))); + box_var.append(&Label::new(Some("Hai selezionato il file: {file_path}"))); // vorrei che questa stringa spuntasse solo dopo aver selezionato il file let box_aux = Box::new(Orientation::Horizontal, 10); let subtitle = Label::new(None);