[umbrello] [Bug 409631] Associations are sometime not addable in class diagram

Ralf Habacker bugzilla_noreply at kde.org
Mon Nov 25 13:07:15 GMT 2019


https://bugs.kde.org/show_bug.cgi?id=409631

--- Comment #1 from Ralf Habacker <ralf.habacker at freenet.de> ---
Today I got the same error with a component diagram. After selecting the first
widget clicking on the second widget do not connect both widgets. 
In a debug session it turned out that in the error case 
UMLScene::widgetAt(m_pMouseEvent->scenePos()) did not return the second widget
in 

void ToolBarState::setCurrentElement()
{
    ... 
    // Check widgets.
    UMLWidget *widget = m_pUMLScene->widgetAt(m_pMouseEvent->scenePos());
    if (widget) {
        setCurrentWidget(widget);
        return;
    }
}

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list