##// END OF EJS Templates
Blocks UI update of a variable while it has pending requests
Alexandre Leroux -
r649:a482710ef34e
parent child
Show More
@@ -694,7 +694,12 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 emit var->updated();
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) {
701 emit var->updated();
702 }
698 703 }
699 704 else {
700 705 qCCritical(LOG_VariableController())
General Comments 0
You need to be logged in to leave comments. Login now