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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user