[Uml-devel] kdesdk/umbrello/umbrello

Sebastian Stein seb.kde at hpfsc.de
Mon Feb 2 06:16:07 UTC 2004


CVS commit by sstein: 

fix bug #73277 creating new states from context menu in state diagram is broken

This problem was also true for other objects. I will backport this fix to KDE
3.2 in some days.


  M +8 -0      umlview.cpp   1.120


--- kdesdk/umbrello/umbrello/umlview.cpp  #1.119:1.120
@@ -2681,4 +2681,5 @@ void UMLView::slotMenuSelection(int sel)
                                 ft->setID(m_pDoc -> getUniqueID());
                                 ft->setActivated();
+                                setupNewWidget(ft);
                         }
                         break;
@@ -2763,4 +2764,5 @@ void UMLView::slotMenuSelection(int sel)
                         state -> setVisible( true );
                         state -> setActivated();
+                        setupNewWidget( state );
                         break;
 
@@ -2772,4 +2774,5 @@ void UMLView::slotMenuSelection(int sel)
                         state -> setVisible( true );
                         state -> setActivated();
+                        setupNewWidget( state );
                         break;
 
@@ -2784,4 +2787,5 @@ void UMLView::slotMenuSelection(int sel)
                                 state -> setVisible( true );
                                 state -> setActivated();
+                                setupNewWidget( state );
                         }
                         break;
@@ -2794,4 +2798,5 @@ void UMLView::slotMenuSelection(int sel)
                         activity -> setVisible( true );
                         activity -> setActivated();
+                        setupNewWidget(activity);
                         break;
 
@@ -2804,4 +2809,5 @@ void UMLView::slotMenuSelection(int sel)
                         activity -> setVisible( true );
                         activity -> setActivated();
+                        setupNewWidget(activity);
                         break;
 
@@ -2813,4 +2819,5 @@ void UMLView::slotMenuSelection(int sel)
                         activity -> setVisible( true );
                         activity -> setActivated();
+                        setupNewWidget(activity);
                         break;
 
@@ -2826,4 +2833,5 @@ void UMLView::slotMenuSelection(int sel)
                                 activity -> setVisible( true );
                                 activity -> setActivated();
+                                setupNewWidget(activity);
                         }
                         break;






More information about the umbrello-devel mailing list