* src/PeopleModel.py: Improve rebuid times by using database cursor,
caching sort names, and replacing loops with map/lamba * src/PeopleView.py: prevent goto_active_person reentrancy, use get_selected_objects instead of selected_foreach, combine row_changed and set_dnd_target into the same callback, rebuild only affected surname on person-update if pissible svn: r4750
This commit is contained in:
@@ -1749,9 +1749,9 @@ class Gramps(GrampsDBCallback.GrampsDBCallback):
|
||||
"Please upgrade to the corresponding version or use XML for porting data between different database versions.")
|
||||
|
||||
self.db.set_save_path(name)
|
||||
|
||||
res = self.db.get_researcher()
|
||||
owner = GrampsCfg.get_researcher()
|
||||
|
||||
if res.get_name() == "" and owner.get_name():
|
||||
self.db.set_researcher(owner)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user