[Uml-devel] kdesdk/umbrello/umbrello

Jonathan Riddell jri at jriddell.org
Tue Jul 22 10:49:40 UTC 2003


CVS commit by jriddell: 

Wee tidy of right click menu on collaboration diagram objects


  M +5 -4      listpopupmenu.cpp   1.23


--- kdesdk/umbrello/umbrello/listpopupmenu.cpp  #1.22:1.23
@@ -283,8 +283,9 @@ ListPopupMenu::ListPopupMenu(QWidget * p
 
                 case Uml::wt_Object:
-                        setupColor(object -> getUseFillColor());
+                        //Used for sequence diagram and collaboration diagram widgets
+
+                        setupColor( object->getUseFillColor() );
+                        if( pView->getType() == Uml::dt_Sequence ) {
                         insertSeparator();
-                        if( pView -> getType() == Uml::dt_Sequence ) {
-                                //FIXME
                                 int tabUp = insertItem( SmallIcon( "1uparrow"), i18n("Move Up"), mt_Up);
                                 insertItem( SmallIcon( "1downarrow"), i18n("Move Down"), mt_Down);






More information about the umbrello-devel mailing list