2006-05-08 Alex Roitman <shura@gramps-project.org>

* src/GrampsDb/_GrampsInMemDB.py (load): Define self.full_name
	prior to calling open_undodb().



svn: r6579
This commit is contained in:
Alex Roitman 2006-05-08 17:47:22 +00:00
parent 00ecb78a83
commit 19955ec2f0
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2006-05-08 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsInMemDB.py (load): Define self.full_name
prior to calling open_undodb().
2006-05-07 Don Allingham <don@gramps-project.org> 2006-05-07 Don Allingham <don@gramps-project.org>
* configure.in: set for 2.1.1 * configure.in: set for 2.1.1
* src/GrampsDb/_ReadXML.py: call name support * src/GrampsDb/_ReadXML.py: call name support

View File

@ -99,9 +99,9 @@ class GrampsInMemDB(GrampsDbBase):
self.undodb = [] self.undodb = []
def load(self,name,callback,mode="w"): def load(self,name,callback,mode="w"):
self.open_undodb()
self.full_name = name self.full_name = name
self.readonly = mode == "r" self.readonly = mode == "r"
self.open_undodb()
# Re-set the undo history to a fresh session start # Re-set the undo history to a fresh session start
self.undoindex = -1 self.undoindex = -1