Bug 3069: PersonView keeps tree model attached while rebuilding the columns
svn: r12703
This commit is contained in:
parent
22ecedb061
commit
1042bb3fe2
@ -532,8 +532,9 @@ class PersonView(PageView.PersonNavView):
|
||||
self.tooltips = TreeTips.TreeTips(self.tree,
|
||||
self.model.tooltip_column,
|
||||
True)
|
||||
|
||||
self.tree.set_model(None)
|
||||
self.build_columns()
|
||||
self.tree.set_model(self.model)
|
||||
self.dbstate.change_active_person(active)
|
||||
self._goto()
|
||||
self.dirty = False
|
||||
@ -758,7 +759,7 @@ class PersonView(PageView.PersonNavView):
|
||||
def person_updated(self, handle_list):
|
||||
if not self.model:
|
||||
return
|
||||
|
||||
|
||||
self.model.clear_cache()
|
||||
for node in handle_list:
|
||||
person = self.dbstate.db.get_person_from_handle(node)
|
||||
|
Loading…
Reference in New Issue
Block a user