From 871c1a6dea618195ca879f31c53a01b79dbc594b Mon Sep 17 00:00:00 2001 From: prculley Date: Mon, 27 Nov 2017 14:18:49 -0600 Subject: [PATCH] Fix FamilyRelationshpType _DATAMAP order to correspond with values Fixes #10275 --- gramps/gen/lib/familyreltype.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gramps/gen/lib/familyreltype.py b/gramps/gen/lib/familyreltype.py index d87f1d7d7..0e6192b1f 100644 --- a/gramps/gen/lib/familyreltype.py +++ b/gramps/gen/lib/familyreltype.py @@ -44,11 +44,11 @@ class FamilyRelType(GrampsType): _DEFAULT = MARRIED _DATAMAP = [ + (MARRIED, _("Married"), "Married"), + (UNMARRIED, _("Unmarried"), "Unmarried"), + (CIVIL_UNION, _("Civil Union"), "Civil Union"), (UNKNOWN, _("Unknown"), "Unknown"), (CUSTOM, _("Custom"), "Custom"), - (CIVIL_UNION, _("Civil Union"), "Civil Union"), - (UNMARRIED, _("Unmarried"), "Unmarried"), - (MARRIED, _("Married"), "Married"), ] def __init__(self, value=None):