[Uml-devel] KDE_3_2_BRANCH: kdesdk/umbrello/umbrello

Sebastian Stein seb.kde at hpfsc.de
Tue Feb 3 13:35:06 UTC 2004


CVS commit by sstein: 

backport of fix for bug #73277: creating new states from context menu in state diagram is broken


  M +8 -0      umlview.cpp   1.119.2.1


--- kdesdk/umbrello/umbrello/umlview.cpp  #1.119:1.119.2.1
@@ -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