Commit 1db47cb2 authored by Ralf Habacker's avatar Ralf Habacker
Browse files

Fix using wrong variable in UMLWidget constructor

Fixup of commit f74ed161.
parent f74ed161
......@@ -82,7 +82,7 @@ const int UMLWidget::resizeMarkerLineCount = 3;
* @param o The UMLObject to represent.
*/
UMLWidget::UMLWidget(UMLScene * scene, WidgetType type, UMLObject * o)
: WidgetBase(scene, type, o ? m_umlObject->id() : Uml::ID::None)
: WidgetBase(scene, type, o ? o->id() : Uml::ID::None)
, DiagramProxyWidget(this)
{
init();
......
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