03288: [XML import] Custom family event role type is ignored on Family Events
svn: r13447
This commit is contained in:
parent
dc85030a20
commit
61130b11ef
@ -162,6 +162,10 @@ class GrampsType(object):
|
|||||||
if value in self._E2IMAP:
|
if value in self._E2IMAP:
|
||||||
self.__value = self._E2IMAP[value]
|
self.__value = self._E2IMAP[value]
|
||||||
self.__string = u''
|
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:
|
else:
|
||||||
self.__value = self._CUSTOM
|
self.__value = self._CUSTOM
|
||||||
self.__string = value
|
self.__string = value
|
||||||
|
Loading…
Reference in New Issue
Block a user