Fix tagwatcher not filtering correctly in all circumstances
This commit is contained in:
parent
3147d9974e
commit
6040a3fbff
@ -98,7 +98,10 @@ void TagWatcher::update()
|
|||||||
if (t->tagId() != m_tagId) {
|
if (t->tagId() != m_tagId) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (t->thingId() != m_thingId && t->ruleId() != m_ruleId) {
|
if (!m_thingId.isNull() && t->thingId() != m_thingId) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
if (!m_ruleId.isNull() && t->ruleId() != m_ruleId) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
tag = t;
|
tag = t;
|
||||||
|
|||||||
Reference in New Issue
Block a user