* src/gramps_main.py (change_active_person): Dont change to the current active person again.

* src/FamilyView.py (drag_data_received): Allow reordering of childs when they were not correctly ordered before.


svn: r4725
This commit is contained in:
Martin Hawlisch
2005-05-28 06:21:37 +00:00
parent 811014e1c2
commit d120265624
4 changed files with 22 additions and 1 deletions

View File

@@ -1527,6 +1527,15 @@ class Gramps(GrampsDBCallback.GrampsDBCallback):
self.people_view.goto_active_person()
def change_active_person(self,person,force=0):
nph = ""
if person:
nph = person.get_handle()
oph = ""
if self.active_person:
oph = self.active_person.get_handle()
if nph == oph: # no need to change to the current active person again
return
if person == None:
self.set_buttons(0)
self.active_person = None