[Uml-devel] kdesdk/umbrello/umbrello
Brian Thomas
thomas at mail630.gsfc.nasa.gov
Tue Feb 10 11:35:05 UTC 2004
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.25
--- kdesdk/umbrello/umbrello/umlobject.cpp #1.24:1.25
@@ -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