[Uml-devel] kdesdk/umbrello/umbrello

Tobias Koenig tokoe at kde.org
Sat Nov 20 21:09:43 UTC 2004


CVS commit by tokoe: 

Fixed bug #89485.

We can't check for UMLDoc::isLoading() here, because this method is
_always_ called during loading, with the result that activated()
isn't called and the widgets don't get the m_bActivated bit set.

That results the shift of all widgets when you copy+paste a single widget
in a loaded diagram.

CCMAIL:89485-done at bugs.kde.org


  M +2 -1      umlview.cpp   1.191


--- kdesdk/umbrello/umbrello/umlview.cpp  #1.190:1.191
@@ -1538,5 +1538,6 @@ bool UMLView::activate() {
                 if(obj->isActivated() || obj->getBaseType() == wt_Message)
                         continue;
-                if (!m_pDoc->loading() && !obj->activate())
+
+                if (!obj->activate())
                         continue;
                 obj -> setVisible( true );






More information about the umbrello-devel mailing list