| 146 | |
| 147 | |
| 148 | void SidepanelEditor::on_buttonAddNode_clicked() |
| 149 | { |
| 150 | CustomNodeDialog dialog(_tree_nodes_model, QString(), this); |
| 151 | if( dialog.exec() == QDialog::Accepted) |
| 152 | { |
| 153 | auto new_model = dialog.getTreeNodeModel(); |
| 154 | emit addNewModel( new_model ); |
| 155 | } |
| 156 | updateTreeView(); |
| 157 | } |
| 158 | |
| 159 | void SidepanelEditor::onRemoveModel(QString selected_name) |
| 160 | { |
nothing calls this directly
no test coverage detected