mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-20 22:33:08 +02:00
Nag based on task state before modification
With this patch, taskwarrior uses the urgency of tasks before any modifications are applied when deciding whether to show nag messages. Previously, taskwarrior would apply modifications before deciding whether to show nag messages, which could lead to spurious nag messages when completing an active task.
This commit is contained in:
parent
607baa081d
commit
b33a99a748
5 changed files with 98 additions and 33 deletions
|
@ -48,7 +48,7 @@ void updateRecurrenceMask (Task&);
|
|||
void handleRecurrence2 ();
|
||||
|
||||
// nag.cpp
|
||||
bool nag (Task&);
|
||||
void nag (std::vector <Task>&);
|
||||
|
||||
// rules.cpp
|
||||
void initializeColorRules ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue