mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-27 19:17:19 +02:00
Fix inherited urgency when parent and child have the same urgency (#2941)
Update condition for inheritance value hack If the parent and child task have the same urgency the parent task also needs the 0.01 extra urgency to be sorted above the child.
This commit is contained in:
parent
651ea36382
commit
9d9dde1065
1 changed files with 1 additions and 1 deletions
|
@ -2180,7 +2180,7 @@ float Task::urgency_c () const
|
|||
|
||||
// This is a hackish way of making sure parent tasks are sorted above
|
||||
// child tasks. For reports that hide blocked tasks, this is not needed.
|
||||
if (prev < value)
|
||||
if (prev <= value)
|
||||
value += 0.01;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue