| 162 | } |
| 163 | |
| 164 | void QmitkDataStorageComboBox::AddNode(const mitk::DataNode *dataNode) |
| 165 | { |
| 166 | // this is an event function, make sure that we didn't call ourself |
| 167 | if (!m_BlockEvents) |
| 168 | { |
| 169 | m_BlockEvents = true; |
| 170 | // pass a -1 to the InsertNode function in order to append the datatree node to the end |
| 171 | this->InsertNode(-1, dataNode); |
| 172 | m_BlockEvents = false; |
| 173 | } |
| 174 | } |
| 175 | |
| 176 | void QmitkDataStorageComboBox::RemoveNode(int index) |
| 177 | { |
no test coverage detected