| 212 | } |
| 213 | |
| 214 | void SidepanelEditor::onReplaceModel(const QString& old_name, |
| 215 | const NodeModel &new_model) |
| 216 | { |
| 217 | _tree_nodes_model.erase( old_name ); |
| 218 | _model_registry->unregisterModel( old_name ); |
| 219 | emit addNewModel( new_model ); |
| 220 | emit nodeModelEdited(old_name, new_model.registration_ID); |
| 221 | } |
| 222 | |
| 223 | |
| 224 | void SidepanelEditor::on_buttonUpload_clicked() |
no outgoing calls