[Uml-devel] KDE_3_2_BRANCH: kdesdk/umbrello/umbrello
Jonathan Riddell
jri at jriddell.org
Tue Feb 10 12:05:07 UTC 2004
CVS commit by jriddell:
backport beastie fix from earler today (10 Feb)
--
CVS commit by thomas:
bug fix: umlobjects not being added to list in umldoc, when child signal created is called.
M +5 -0 umlobject.cpp 1.24.2.1
--- kdesdk/umbrello/umbrello/umlobject.cpp #1.24:1.24.2.1
@@ -48,4 +48,9 @@ void UMLObject::init() {
m_bAbstract = false;
m_bStatic = false;
+
+ UMLDoc * parent = UMLApp::app()->getDocument();
+ connect(this,SIGNAL(childObjectAdded(UMLObject*)),parent,SLOT(addUMLObject(UMLObject*)));
+ connect(this,SIGNAL(childObjectRemoved(UMLObject*)),parent,SLOT(slotRemoveUMLObject(UMLObject*)));
+
}
More information about the umbrello-devel
mailing list