Fix typo in window progress

pull/246/head
Rafał Mikrut 3 years ago
parent 9f3da0e70f
commit ea474c2af0

@ -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");

Loading…
Cancel
Save