##// END OF EJS Templates
Sets states after operations
Alexandre Leroux -
r813:4223a71c7134 feature/VariableS...
parent child
Show More
@@ -352,6 +352,7 void VariableController::onAbortProgressRequested(std::shared_ptr<Variable> vari
352 352 impl->cancelVariableRequest(varRequestId);
353 353
354 354 // Finish the progression for the request
355 variable->setState(std::make_unique<CanceledState>());
355 356 impl->m_VariableModel->setDataProgress(variable, 0.0);
356 357 }
357 358 else {
@@ -788,6 +789,7 void VariableController::VariableControllerPrivate::updateVariableRequest(QUuid
788 789 qCDebug(LOG_VariableController())
789 790 << tr("2: onDataProvided") << varRequest.m_CacheRangeRequested;
790 791 var->mergeDataSeries(varRequest.m_DataSeries);
792 var->setState(std::make_unique<LoadedState>());
791 793 qCDebug(LOG_VariableController()) << tr("3: onDataProvided");
792 794
793 795 /// @todo MPL: confirm
General Comments 0
You need to be logged in to leave comments. Login now