Fix bug where edit buttons are missing in person view

svn: r15622
This commit is contained in:
Nick Hall 2010-07-06 14:38:08 +00:00
parent 7f83fc7fcb
commit 6648bc9ed7

View File

@ -356,7 +356,7 @@ class BasePersonView(ListView):
def enable_action_group(self, obj):
ListView.enable_action_group(self, obj)
self.all_action.set_visible(True)
self.edit_action.set_visible(False)
self.edit_action.set_visible(True)
self.edit_action.set_sensitive(not self.dbstate.db.readonly)
def disable_action_group(self):