Distinguish datacontainer relays by both interval and alignment
This allows being able to change just the alignment, which can happen, since the order of QML bindings being re-evaluated is non-deterministic REVIEW: 122593
This commit is contained in:
parent
ae2b9f7099
commit
b3f607ec1a
@ -117,7 +117,7 @@ void DataContainer::connectVisualization(QObject *visualization, uint pollingInt
|
||||
if (relay) {
|
||||
// connected to a relay
|
||||
//qDebug() << " already connected, but to a relay";
|
||||
if (relay->m_interval == pollingInterval) {
|
||||
if (relay->m_interval == pollingInterval && relay->m_align == alignment) {
|
||||
//qDebug() << " already connected to a relay of the same interval of"
|
||||
// << pollingInterval << ", nothing to do";
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user