+ Fixed problem with duplicate 'project changed' messages.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
This commit is contained in:
Owen Clarke
2012-01-05 17:43:29 -05:00
committed by Paul Beckingham
parent fb38dca1db
commit afcd362f67
2 changed files with 5 additions and 0 deletions

View File

@@ -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 ------------------------------

View File

@@ -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);