diff options
author | r3pll <106473215+r3pll@users.noreply.github.com> | 2022-06-07 14:14:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-07 14:14:59 +0300 |
commit | 02c76729565c06cfeaa0b1029bc9768cd3b46d7d (patch) | |
tree | 3642cd2c2da187250ef4708061d81208e57740b5 /src/ui/tasks_group.rs | |
parent | 08a3a2416e6b5357911815d49e074928dcc5d3e6 (diff) | |
parent | 89955b21d2a048037822afb60f5200f9da76c487 (diff) | |
download | Furtherance-02c76729565c06cfeaa0b1029bc9768cd3b46d7d.tar.zst |
Merge pull request #1 from lakoliu/main
1
Diffstat (limited to 'src/ui/tasks_group.rs')
-rwxr-xr-x | src/ui/tasks_group.rs | 3 |
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") |