[Uml-devel] kdesdk/umbrello/umbrello

Sebastian Stein seb.kde at hpfsc.de
Thu Nov 6 07:08:19 UTC 2003


CVS commit by sstein: 

If a widget is already selected, it should of course get not deselected when right clicking on it.


  M +1 -2      umlwidget.cpp   1.63


--- kdesdk/umbrello/umbrello/umlwidget.cpp  #1.62:1.63
@@ -325,7 +325,6 @@ void UMLWidget::mousePressEvent(QMouseEv
                  * deselects all items and selects the current one. It will show the
                  * context menu for the selected item. This is common behaviour. */
-                bool _select = m_bSelected?false:true;
                 m_pView -> clearSelected();
-                m_bSelected = _select;
+                m_bSelected = true;
                 setSelected( m_bSelected );
                 m_pView -> setSelected( this, me );






More information about the umbrello-devel mailing list