* src/PeopleView.py: correctly handle disabling report/tool buttons

* src/gramps_main.py: correctly handle disabling report/tool buttons


svn: r2683
This commit is contained in:
Don Allingham 2004-01-21 04:43:51 +00:00
parent b3802c845c
commit 22cd43d3e2
2 changed files with 1 additions and 6 deletions

View File

@ -104,11 +104,6 @@ class PeopleView:
self.model_used[self.person_tree] = 1 self.model_used[self.person_tree] = 1
self.apply_filter(self.person_tree) self.apply_filter(self.person_tree)
self.person_list.connect('button-press-event',self.on_plist_button_press) self.person_list.connect('button-press-event',self.on_plist_button_press)
mlist = self.person_tree.get_selected_objects()
if mlist:
self.parent.set_buttons(1)
else:
self.parent.set_buttons(0)
def clear_person_tabs(self): def clear_person_tabs(self):
self.clearing_tabs = 1 self.clearing_tabs = 1