Code Cleanup
- Remove duplicate modify call to TDB2. - Check if quitting in bulk change only if permission fails. - Correct test logic (the unit for each operation is the second, not the day). - Consistency in test for feature.1013.t - Correctly color deleted tasks. test
This commit is contained in:
committed by
Paul Beckingham
parent
39456a3243
commit
160260ff48
@@ -273,7 +273,7 @@ static void colorizeCompleted (Task& task, const Color& base, Color& c)
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
static void colorizeDeleted (Task& task, const Color& base, Color& c)
|
||||
{
|
||||
if (task.getStatus () == Task::completed)
|
||||
if (task.getStatus () == Task::deleted)
|
||||
c.blend (base);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user