* 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:
parent
9c39a67559
commit
67f25e1779
@ -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())
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user