* src/PersonView.py (edit): Work with missing active person
svn: r5200
This commit is contained in:
parent
24a2f68930
commit
59e55950a6
@ -5,7 +5,8 @@
|
||||
2005-09-16 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
||||
* Makefile.am: Disable install, show warning instead.
|
||||
* src/PageView.py (button_press): Catch problem with no loaded database
|
||||
* src/PersonView.py (button_press): Catch problem with no loaded database
|
||||
* src/PersonView.py (button_press): Catch problem with no loaded
|
||||
database; (edit): Work with missing active person
|
||||
* src/GrampsDbBase.py (_get_from_handle): Catch problem with no loaded database
|
||||
* src/MapView.py: Updates
|
||||
* src/EditPerson.py: Change complete flag into marker combo
|
||||
|
@ -451,7 +451,8 @@ class PersonView(PageView.PersonNavView):
|
||||
EditPerson.EditPerson(self.dbstate, self.uistate, person)
|
||||
|
||||
def edit(self,obj):
|
||||
EditPerson.EditPerson(self.dbstate, self.uistate, self.dbstate.active)
|
||||
if self.dbstate.active:
|
||||
EditPerson.EditPerson(self.dbstate, self.uistate, self.dbstate.active)
|
||||
|
||||
def remove(self,obj):
|
||||
mlist = self.get_selected_objects()
|
||||
|
Loading…
Reference in New Issue
Block a user