From 825a2662b1856931549fc2de1164e89b09c7f4aa Mon Sep 17 00:00:00 2001 From: Ricky Kresslein Date: Sun, 5 Jun 2022 12:37:34 +0300 Subject: Reports feature (Issue #32) --- src/ui/tasks_group.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/ui/tasks_group.rs') diff --git a/src/ui/tasks_group.rs b/src/ui/tasks_group.rs index 2453991..bd55c36 100755 --- a/src/ui/tasks_group.rs +++ b/src/ui/tasks_group.rs @@ -81,10 +81,9 @@ impl FurTasksGroup { // Check if tasks have the same name. If they do, make one listbox row for all of them. // If they don't, move on. let mut tasks_by_name: Vec> = Vec::new(); - let mut unique: bool; for task in &tasks { - unique = true; + let mut unique = true; for i in 0..tasks_by_name.len() { if tasks_by_name[i][0].task_name == task.task_name && ( ( settings_manager::get_bool("show-tags") -- cgit 1.4.1