REFN changes for GEDCOM import

svn: r802
This commit is contained in:
Don Allingham
2002-02-27 01:18:49 +00:00
parent a9a41b6436
commit c173958306
5 changed files with 55 additions and 9 deletions

View File

@@ -520,7 +520,7 @@ class Gramps:
if val == 1:
return
self.clear_database()
DbPrompter.DbPrompter(self.database,1)
DbPrompter.DbPrompter(self,1)
def clear_database(self):
"""Clear out the database if permission was granted"""
@@ -1146,6 +1146,14 @@ class Gramps:
file = self.database.getSavePath()
self.database.new()
self.active_person = None
self.active_father = None
self.active_family = None
self.active_mother = None
self.active_child = None
self.active_spouse = None
self.id2col = {}
self.alt2col = {}
self.read_file(file)
Utils.clearModified()
Utils.clear_timer()