about summary refs log tree commit diff
path: root/src/ui/tasks_group.rs
diff options
context:
space:
mode:
authorr3pll <106473215+r3pll@users.noreply.github.com>2022-06-07 14:14:59 +0300
committerGitHub <noreply@github.com>2022-06-07 14:14:59 +0300
commit02c76729565c06cfeaa0b1029bc9768cd3b46d7d (patch)
tree3642cd2c2da187250ef4708061d81208e57740b5 /src/ui/tasks_group.rs
parent08a3a2416e6b5357911815d49e074928dcc5d3e6 (diff)
parent89955b21d2a048037822afb60f5200f9da76c487 (diff)
downloadFurtherance-02c76729565c06cfeaa0b1029bc9768cd3b46d7d.tar.zst
Merge pull request #1 from lakoliu/main
1
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")