Commit eb42f725 authored by Ralf Habacker's avatar Ralf Habacker
Browse files

Add suppport for selecting object widgets by clicking on its sequence line

BUG:418850
FIXED-IN:2.30.80 (KDE releases 20.03.80)
parent ea9cb5f7
......@@ -300,6 +300,12 @@ void ToolBarState::setCurrentElement()
return;
}
objectWidgetLine = m_pUMLScene->onWidgetLine(m_pMouseEvent->scenePos());
if (objectWidgetLine) {
setCurrentWidget(objectWidgetLine);
return;
}
// Check widgets.
UMLWidget *widget = m_pUMLScene->widgetAt(m_pMouseEvent->scenePos());
if (widget) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment