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