diff --git a/ChangeLog b/ChangeLog index e589d9243..61e3accf6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -232,6 +232,8 @@ Boeckel). + Fixed problem with DOM-checking the 'limit' pseudo-attribute (thanks to Barton Meeks). + + Fixed problem with duplicate 'project changed' messages (thanks to Owen + Clarke). ------ old releases ------------------------------ diff --git a/src/helpers.cpp b/src/helpers.cpp index ae74040f4..4fc7d345d 100644 --- a/src/helpers.cpp +++ b/src/helpers.cpp @@ -164,6 +164,9 @@ 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); + std::string messages = onProjectChange (task1); messages += onProjectChange (task2);