Update
svn: r8628
This commit is contained in:
parent
fd8e5b0a06
commit
7fb923ecd7
@ -1,3 +1,7 @@
|
||||
2007-06-22 Alex Roitman <shura@phy.ucsf.edu>
|
||||
* src/GrampsDb/_GrampsGEDDB.py (close): Save after batch transactions.
|
||||
* src/GrampsDb/_GrampsXMLDB.py (close): Save after batch transactions.
|
||||
|
||||
2007-06-22 Brian Matherly <brian@gramps-project.org>
|
||||
* src/ReportBase/_ReportDialog.py: Still let REAL exceptions pass through.
|
||||
|
||||
|
@ -68,7 +68,8 @@ class GrampsGEDDB(GrampsInMemDB):
|
||||
def close(self):
|
||||
if not self.db_is_open:
|
||||
return
|
||||
if not self.readonly and len(self.undodb) > 0:
|
||||
if (not self.readonly) and ((len(self.undodb)>0) or
|
||||
not self.abort_possible):
|
||||
writer = GedcomWriter(self,self.get_default_person())
|
||||
writer.export_data(self.full_name)
|
||||
self.db_is_open = False
|
||||
|
@ -74,7 +74,8 @@ class GrampsXMLDB(GrampsInMemDB):
|
||||
def close(self):
|
||||
if not self.db_is_open:
|
||||
return
|
||||
if not self.readonly and len(self.undodb) > 0:
|
||||
if (not self.readonly) and ((len(self.undodb)>0) or
|
||||
not self.abort_possible):
|
||||
quick_write(self,self.full_name)
|
||||
self.db_is_open = False
|
||||
GrampsInMemDB.close(self)
|
||||
|
Loading…
Reference in New Issue
Block a user