diff --git a/ChangeLog b/ChangeLog index 009c569ed..c6a422317 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 --------------------------- diff --git a/src/Hooks.cpp b/src/Hooks.cpp index f1f99d1c8..a2eb0cea8 100644 --- a/src/Hooks.cpp +++ b/src/Hooks.cpp @@ -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 ();