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:
		@@ -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>
 | 
			
		||||
	* configure.in: set for 2.1.1
 | 
			
		||||
	* src/GrampsDb/_ReadXML.py: call name support
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user