1
0
Fork 0
mirror of synced 2024-04-27 17:22:13 +12:00

Fix typo in window progress

This commit is contained in:
Rafał Mikrut 2021-02-03 20:23:19 +01:00
parent 9f3da0e70f
commit ea474c2af0

View file

@ -62,7 +62,12 @@ pub fn connect_progress_window(
progress_bar_all_stages.set_fraction((2f64) / (item.max_stage + 1) as f64);
progress_bar_current_stage.set_fraction(0f64);
}
label_stage.set_text(format!("Analyzed full hash of {}/{} files", item.files_checked, item.files_to_check).as_str());
if item.checking_method == duplicate::CheckingMethod::Hash {
label_stage.set_text(format!("Analyzed full hash of {}/{} files", item.files_checked, item.files_to_check).as_str());
} else {
label_stage.set_text(format!("Analyzed hash of {}/{} files", item.files_checked, item.files_to_check).as_str());
}
}
_ => {
panic!("Not available current_stage");