[Uml-devel] KDE/kdesdk/umbrello/umbrello
Sharan Rao
sharanrao at gmail.com
Mon Nov 12 19:39:27 UTC 2007
SVN commit 735851 by sharan:
clear all other selected widgets before selecting association. ( earlier this was not true for association lines to association classes )
M +4 -2 associationwidget.cpp
--- trunk/KDE/kdesdk/umbrello/umbrello/associationwidget.cpp #735850:735851
@@ -2252,6 +2252,10 @@
}
void AssociationWidget::mousePressEvent(QMouseEvent * me) {
+ // clear other selected stuff on the screen of ShiftKey
+ if( me -> modifiers() != Qt::ShiftModifier )
+ m_pView -> clearSelected();
+
m_nMovingPoint = -1;
//make sure we should be here depending on the button
if(me -> button() != Qt::RightButton && me->button() != Qt::LeftButton)
@@ -2266,8 +2270,6 @@
// See if the user has clicked on a point to start moving the line segment
// from that point
checkPoints(mep);
- if( me -> modifiers() != Qt::ShiftModifier )
- m_pView -> clearSelected();
setSelected( !m_bSelected );
}
More information about the umbrello-devel
mailing list