From 19955ec2f0a5a056e75d29b4c64e0c78e15e4062 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Mon, 8 May 2006 17:47:22 +0000 Subject: [PATCH] 2006-05-08 Alex Roitman * src/GrampsDb/_GrampsInMemDB.py (load): Define self.full_name prior to calling open_undodb(). svn: r6579 --- ChangeLog | 4 ++++ src/GrampsDb/_GrampsInMemDB.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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