From 61130b11efddcbfd9d4026dc63f07946bcb00499 Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Wed, 28 Oct 2009 16:15:48 +0000 Subject: [PATCH] 03288: [XML import] Custom family event role type is ignored on Family Events svn: r13447 --- src/gen/lib/grampstype.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gen/lib/grampstype.py b/src/gen/lib/grampstype.py index fc53a5a36..083ef919a 100644 --- a/src/gen/lib/grampstype.py +++ b/src/gen/lib/grampstype.py @@ -162,6 +162,10 @@ class GrampsType(object): if value in self._E2IMAP: self.__value = self._E2IMAP[value] self.__string = u'' + if self.__value == self._CUSTOM: + #if the custom event is actually 'Custom' then we should save it + # with that string value. That is, 'Custom' is in _E2IMAP + self.__string = value else: self.__value = self._CUSTOM self.__string = value