diff --git a/ChangeLog b/ChangeLog index edf7f05bd..df2a6d838 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-05-08 Alex Roitman + * src/GrampsDb/_GrampsInMemDB.py (load): Define self.full_name + prior to calling open_undodb(). + 2006-05-07 Don Allingham * configure.in: set for 2.1.1 * src/GrampsDb/_ReadXML.py: call name support diff --git a/src/GrampsDb/_GrampsInMemDB.py b/src/GrampsDb/_GrampsInMemDB.py index 53fa8e2fe..ba374e71e 100644 --- a/src/GrampsDb/_GrampsInMemDB.py +++ b/src/GrampsDb/_GrampsInMemDB.py @@ -99,9 +99,9 @@ class GrampsInMemDB(GrampsDbBase): self.undodb = [] def load(self,name,callback,mode="w"): - self.open_undodb() self.full_name = name self.readonly = mode == "r" + self.open_undodb() # Re-set the undo history to a fresh session start self.undoindex = -1