[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdesdk/umbrello/umbrello
From:       Oliver Kellogg <okellogg () users ! sourceforge ! net>
Date:       2007-07-18 22:29:40
Message-ID: 1184797780.090085.30454.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 689706 by okellogg:

init(): Do not call UMLDoc::currentRoot() while loading.

 M  +2 -1      association.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/umbrello/association.cpp #689705:689706
@@ -564,7 +564,8 @@
     m_Name = "";
     m_bOldLoadMode = false;
     nrof_parent_widgets = -1;
-    m_pUMLPackage = UMLApp::app()->getDocument()->currentRoot();
+    if (!UMLApp::app()->getDocument()->loading())
+        m_pUMLPackage = UMLApp::app()->getDocument()->currentRoot();
     m_pRole[Uml::A] = new UMLRole (this, roleAObj, Uml::A);
     m_pRole[Uml::B] = new UMLRole (this, roleBObj, Uml::B);
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic