| 116 | } |
| 117 | |
| 118 | void mitk::LabelSelectionTool::OnMouseReleased(StateMachineAction*, InteractionEvent* interactionEvent) |
| 119 | { |
| 120 | auto* positionEvent = dynamic_cast<mitk::InteractionPositionEvent*>(interactionEvent); |
| 121 | if (!positionEvent) |
| 122 | return; |
| 123 | |
| 124 | const auto labels = m_HighlightGuard.GetHighlightedLabels(); |
| 125 | if (!labels.empty()) |
| 126 | { |
| 127 | |
| 128 | this->GetToolManager()->SetActiveWorkingLabel( labels.back() ); |
| 129 | } |
| 130 | } |
nothing calls this directly
no test coverage detected