Bug 106183 - initial value of a new paramenter of a methode can not be set the first time
Summary: initial value of a new paramenter of a methode can not be set the first time
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 1.4
Platform: unspecified FreeBSD
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-24 00:04 UTC by Alex de Kruijff
Modified: 2005-07-16 08:19 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex de Kruijff 2005-05-24 00:04:39 UTC
Version:           1.4 (using KDE 3.4.0, compiled sources)
Compiler:          gcc version 3.4.2 [FreeBSD] 20040728
OS:                FreeBSD (i386) release 5.3-RELEASE-p5

In order to see this bug do the following:
1. Dubble klik on a class, so you get the properties window.2
2. Select operations
3. select new opteration (or a existing)
4. select new paramter
5. the first time fillin: type, name and inital value
6. select ok
7. check values by selecting properites (of the parameter you just created)
Comment 1 Oliver Kellogg 2005-06-10 22:01:25 UTC
SVN commit 424107 by okellogg:

Bring back input of initial value at attributes and operation parameters.
CCBUG:106183


 M  +4 -3      classifier.cpp  
 M  +3 -3      classparser/cpptree2uml.cpp  
 M  +19 -15    model_utils.cpp  
 M  +14 -6     model_utils.h  
 M  +5 -5      umllistview.cpp  
 M  +11 -9     umllistviewitem.cpp  
Comment 2 Oliver Kellogg 2005-07-16 08:19:03 UTC
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 );