mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-20 04:13:07 +02:00
Code Cleanup
- Consistent scheme for printing project change information: always shows the progress estimation and add a notification that the project has changed if the number of tasks is changed.
This commit is contained in:
parent
7f1d8c3682
commit
1668aef66b
8 changed files with 9 additions and 7 deletions
|
@ -459,7 +459,7 @@ std::string onProjectChange (Task& task, bool scope /* = true */)
|
|||
std::string onProjectChange (Task& task1, Task& task2)
|
||||
{
|
||||
if (task1.get ("project") == task2.get ("project"))
|
||||
return onProjectChange (task1);
|
||||
return onProjectChange (task1, false);
|
||||
|
||||
std::string messages1 = onProjectChange (task1);
|
||||
std::string messages2 = onProjectChange (task2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue