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 _DEFAULT = MARRIED
_DATAMAP = [ _DATAMAP = [
(UNKNOWN, _("Unknown"), "Unknown"), (MARRIED, _("Married"), "Married"),
(CUSTOM, _("Custom"), "Custom"), (UNMARRIED, _("Unmarried"), "Unmarried"),
(CIVIL_UNION, _("Civil Union"), "Civil Union"), (CIVIL_UNION, _("Civil Union"), "Civil Union"),
(UNMARRIED, _("Unmarried"), "Unmarried"), (UNKNOWN, _("Unknown"), "Unknown"),
(MARRIED, _("Married"), "Married"), (CUSTOM, _("Custom"), "Custom"),
] ]
def __init__(self, value=None): def __init__(self, value=None):