##// END OF EJS Templates
Blocks UI update of a variable while it has pending requests
Alexandre Leroux -
r702:a482710ef34e
parent child
Show More
@@ -694,8 +694,13 void VariableController::VariableControllerPrivate::updateVariableRequest(QUuid
694 694 qCDebug(LOG_VariableController()) << tr("3: onDataProvided")
695 695 << varRequest.m_DataSeries->range();
696 696 qCDebug(LOG_VariableController()) << tr("4: onDataProvided");
697
698 /// @todo MPL: confirm
699 // Variable update is notified only if there is no pending request for it
700 if (m_VarIdToVarRequestIdQueueMap.count(varIdToVarRequestMapIt->first) == 0) {
697 701 emit var->updated();
698 702 }
703 }
699 704 else {
700 705 qCCritical(LOG_VariableController())
701 706 << tr("Impossible to update data to a null variable");
General Comments 0
You need to be logged in to leave comments. Login now