Fix FamilyRelationshpType _DATAMAP order to correspond with values

Fixes #10275
This commit is contained in:
prculley 2017-11-27 14:18:49 -06:00 committed by Nick Hall
parent 9eebeb05da
commit 7911785ea4

View File

@ -49,11 +49,11 @@ class FamilyRelType(GrampsType):
_DEFAULT = MARRIED
_DATAMAP = [
(UNKNOWN, _("Unknown"), "Unknown"),
(CUSTOM, _("Custom"), "Custom"),
(MARRIED, _("Married"), "Married"),
(UNMARRIED, _("Unmarried"), "Unmarried"),
(CIVIL_UNION, _("Civil Union"), "Civil Union"),
(UNMARRIED, _("Unmarried"), "Unmarried"),
(MARRIED, _("Married"), "Married"),
(UNKNOWN, _("Unknown"), "Unknown"),
(CUSTOM, _("Custom"), "Custom"),
]
def __init__(self, value=None):