about summary refs log tree commit diff
path: root/src/ui/tasks_group.rs
diff options
context:
space:
mode:
authorRicky Kresslein <rk@lakoliu.com>2022-06-05 12:37:34 +0300
committerRicky Kresslein <rk@lakoliu.com>2022-06-05 12:42:10 +0300
commit825a2662b1856931549fc2de1164e89b09c7f4aa (patch)
tree4fa17edbd2e366b5046f264e1aabd5220a8ba274 /src/ui/tasks_group.rs
parent8d85a8f7a7be6fcb3cb383d6e59f189864b81044 (diff)
downloadFurtherance-825a2662b1856931549fc2de1164e89b09c7f4aa.tar.zst
Reports feature (Issue #32)
Diffstat (limited to 'src/ui/tasks_group.rs')
-rwxr-xr-xsrc/ui/tasks_group.rs3
1 files changed, 1 insertions, 2 deletions
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<database::Task>> = 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")