[Uml-devel] [Bug 89485] cut and paste misplacement
Tobias König
tokoe at kde.org
Sat Nov 20 19:29:10 UTC 2004
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=89485
tokoe kde org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Additional Comments From tokoe kde org 2004-11-21 04:23 -------
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 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