* 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:
parent
b3802c845c
commit
22cd43d3e2
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user