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 33ebd5d0b0
commit 871c1a6dea

View File

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