Remove reload_custom_filters to conform to PR894

This commit is contained in:
SNoiraud 2019-09-08 11:04:11 +02:00 committed by Nick Hall
parent 4244d70312
commit 82cd211d29

View File

@ -80,7 +80,6 @@ from gramps.gen.display.place import displayer as _pd
from gramps.gen.proxy import CacheProxyDb
from gramps.plugins.lib.libhtmlconst import _CHARACTER_SETS, _CC, _COPY_OPTIONS
from gramps.gen.relationship import get_relationship_calculator
from gramps.gen.filters import reload_custom_filters
#------------------------------------------------
# specific narrative web import
@ -2180,7 +2179,6 @@ class NavWebOptions(MenuReportOptions):
Update the filter list based on the selected person
"""
gid = self.__pid.get_value()
reload_custom_filters()
person = self.__db.get_person_from_gramps_id(gid)
filter_list = utils.get_person_filters(person, include_single=False)
self.__filter.set_filters(filter_list)