##// END OF EJS Templates
Generates clone identifier in controller
Alexandre Leroux -
r711:dbb889077463
parent child
Show More
@@ -198,6 +198,9 VariableController::cloneVariable(std::shared_ptr<Variable> variable) noexcept
198 198 // Adds clone to model
199 199 impl->m_VariableModel->addVariable(duplicate);
200 200
201 // Generates clone identifier
202 impl->m_VariableToIdentifierMap[duplicate] = QUuid::createUuid();
203
201 204 return duplicate;
202 205 }
203 206 else {
General Comments 0
You need to be logged in to leave comments. Login now