* 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:
		| @@ -104,11 +104,6 @@ class PeopleView: | ||||
|             self.model_used[self.person_tree] = 1 | ||||
|             self.apply_filter(self.person_tree) | ||||
|             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): | ||||
|         self.clearing_tabs = 1 | ||||
|   | ||||
| @@ -1369,7 +1369,7 @@ class Gramps: | ||||
|                 else: | ||||
|                     self.backbtn.set_sensitive(0) | ||||
|                     self.back.set_sensitive(0) | ||||
|       | ||||
|  | ||||
|         if person: | ||||
|             self.set_buttons(1) | ||||
|         else: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user