grr edit dupes
parent
50ea3258b7
commit
2425f22b56
|
|
@ -161,7 +161,7 @@ impl DB {
|
||||||
for task in &edited.tasks.0 {
|
for task in &edited.tasks.0 {
|
||||||
if task.is_due() {
|
if task.is_due() {
|
||||||
now_due.push(task.clone());
|
now_due.push(task.clone());
|
||||||
} else {
|
} else if !not_due.tasks.0.contains(task) {
|
||||||
not_due.tasks.0.push(task.clone());
|
not_due.tasks.0.push(task.clone());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue