| 244 | } |
| 245 | |
| 246 | void QmitkDataStorageComboBox::OnCurrentIndexChanged(int index) |
| 247 | { |
| 248 | if (index >= 0 && index < this->count()) |
| 249 | emit OnSelectionChanged(this->GetSelectedNode()); |
| 250 | if (index == -1) |
| 251 | emit OnSelectionChanged(nullptr); |
| 252 | } |
| 253 | |
| 254 | void QmitkDataStorageComboBox::SetSelectedNode(const mitk::DataNode::Pointer& node) |
| 255 | { |
nothing calls this directly
no test coverage detected