+ Fixed problem with duplicate 'project changed' messages.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
This commit is contained in:
committed by
Paul Beckingham
parent
fb38dca1db
commit
afcd362f67
@@ -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 ------------------------------
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user