[Uml-devel] [Bug 106183] initial value of a new paramenter of a methode can not be set the first time

Oliver Kellogg okellogg at users.sourceforge.net
Fri Jul 15 23:22:04 UTC 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=106183         
okellogg users sourceforge net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From okellogg users sourceforge net  2005-07-16 08:19 -------
SVN commit 435053 by okellogg:

slotNewParameter(): Set missing properties on the newly created UMLAttribute.
BUG:106183


 M  +1 -1      ChangeLog  
 M  +4 -0      umbrello/dialogs/umloperationdialog.cpp  


--- trunk/KDE/kdesdk/umbrello/ChangeLog #435052:435053
 @ -10,7 +10,7  @
 Version 1.4.2 (maintenance release)
 
 * Bugs fixed from http://bugs.kde.org :
-72016 97188 103170 106356 106632 106673 107101 107551 108688
+72016 97188 103170 106183 106356 106632 106673 107101 107551 108688
 
 Version 1.4.1 (maintenance release)
 
--- trunk/KDE/kdesdk/umbrello/umbrello/dialogs/umloperationdialog.cpp #435052:435053
 @ -297,6 +297,10  @
              */
             newAttribute->setID( m_doc->getUniqueID() );
             newAttribute->setName( name );
+            newAttribute->setTypeName( dlg.getTypeName() );
+            newAttribute->setInitialValue( dlg.getInitialValue() );
+            newAttribute->setDoc( dlg.getDoc() );
+            newAttribute->setParmKind( dlg.getParmKind() );
             m_pOperation->addParm( newAttribute );
             m_pParmsLB -> insertItem( name );
             m_doc -> setModified( true );




More information about the umbrello-devel mailing list