Merge pull request #298 from prculley/bug9470

bug 9470; Don't allow selecton of Active or Home person until actually commited
This commit is contained in:
Sam Manzi 2016-12-23 10:27:45 +11:00 committed by GitHub
commit 3ce8c4880a

View File

@ -695,8 +695,8 @@ class EditPerson(EditPrimary):
None, None, self._make_home_person), None, None, self._make_home_person),
]) ])
self.all_action.set_visible(True) self.all_action.set_visible(not self.added)
self.home_action.set_visible(True) self.home_action.set_visible(not self.added)
ui_top_cm = ''' ui_top_cm = '''
<menuitem action="ActivePerson"/> <menuitem action="ActivePerson"/>