Birth date can't be empty.
--HG-- branch : develop
This commit is contained in:
parent
e719810f1f
commit
6006bca7ba
|
@ -698,7 +698,10 @@ void VMeasurements::CreateEmptyIndividualFile(Unit unit)
|
||||||
QDomElement personal = createElement(TagPersonal);
|
QDomElement personal = createElement(TagPersonal);
|
||||||
personal.appendChild(createElement(TagFamilyName));
|
personal.appendChild(createElement(TagFamilyName));
|
||||||
personal.appendChild(createElement(TagGivenName));
|
personal.appendChild(createElement(TagGivenName));
|
||||||
personal.appendChild(createElement(TagBirthDate));
|
|
||||||
|
QDomElement date = createElement(TagBirthDate);
|
||||||
|
date.appendChild(createTextNode(QStringLiteral("1800-01-01")));
|
||||||
|
personal.appendChild(date);
|
||||||
|
|
||||||
QDomElement gender = createElement(TagGender);
|
QDomElement gender = createElement(TagGender);
|
||||||
gender.appendChild(createTextNode(GenderToStr(GenderType::Unknown)));
|
gender.appendChild(createTextNode(GenderToStr(GenderType::Unknown)));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user