[chronojump/77] 77 on gui/PersonAddMultiple



commit 3ff89f84ba7a59d369f625ca0e0fcabfd5415278
Author: Xavier de Blas <xaviblas gmail com>
Date:   Tue Mar 2 16:33:06 2010 +0800

    77 on gui/PersonAddMultiple

 src/gui/person.cs |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)
---
diff --git a/src/gui/person.cs b/src/gui/person.cs
index 735736d..eb01278 100644
--- a/src/gui/person.cs
+++ b/src/gui/person.cs
@@ -1777,16 +1777,20 @@ public class PersonAddMultipleWindow {
 		DateTime dateTime = DateTime.MinValue;
 
 		currentPerson = new Person ( name, sex, dateTime, 
+				Constants.RaceUndefinedID,
+				Constants.CountryUndefinedID,
+				"", 			//description
+				Constants.ServerUndefinedID,
+				currentSession.UniqueID);
+				
+
+		PersonSession ps = new PersonSession (
+				currentPerson.UniqueID, currentSession.UniqueID, 
 				0, weight, 		//height, weight	
 				currentSession.PersonsSportID,
 				currentSession.PersonsSpeciallityID,
 				currentSession.PersonsPractice,
-				"", 			//description
-				Constants.RaceUndefinedID,
-				Constants.CountryUndefinedID,
-				Constants.ServerUndefinedID,
-				currentSession.UniqueID		
-				);
+				""); 			//description
 
 		personsCreatedCount ++;
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]