Hooks
- Fixed on-modify hook regression which stopped hooks from modifying tasks. On a related note, more hooks tests are definitely needed.
This commit is contained in:
committed by
Paul Beckingham
parent
7fa3c5ac84
commit
138360b7bc
@@ -22,6 +22,8 @@
|
||||
forks (thanks to Jens Erat).
|
||||
- Re-enabled hook script feedback when exiting with 0 exit status.
|
||||
- The 'info' command now shows virtual tags.
|
||||
- Fixed major on-modify hooks regression where hooks could no longer modify
|
||||
the tasks handed to them.
|
||||
|
||||
------ current release ---------------------------
|
||||
|
||||
|
||||
@@ -358,6 +358,7 @@ void Hooks::onModify (const Task& before, Task& after)
|
||||
throw 0; // This is how hooks silently terminate processing.
|
||||
}
|
||||
}
|
||||
after = Task (input[1]);
|
||||
}
|
||||
|
||||
context.timer_hooks.stop ();
|
||||
|
||||
Reference in New Issue
Block a user