* src/VersionControl.py: Call win.run to prevent exit from killing the

window before the data is saved.


svn: r2754
This commit is contained in:
Don Allingham 2004-02-03 03:45:12 +00:00
parent c78a2b9fd8
commit 35e2920c1b
2 changed files with 1 additions and 2 deletions

View File

@ -85,6 +85,7 @@ class RevisionComment:
Utils.set_titles(self.win,self.top.get_widget('title'),_('Revision control comment'))
self.text = self.top.get_widget("text")
self.win.show()
self.win.run()
def on_savecomment_clicked(self,obj):
comment = unicode(self.text.get_text())

View File

@ -77,9 +77,7 @@ def exportData(database, filename, callback):
compress = GrampsCfg.uncompress == 0 and _gzip_ok == 1
try:
print "xmlwriter"
g = XmlWriter(database,callback,0,compress)
print "done"
g.write(filename)
except:
import DisplayTrace