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