* 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
c78a2b9fd8
commit
35e2920c1b
@ -85,6 +85,7 @@ class RevisionComment:
|
|||||||
Utils.set_titles(self.win,self.top.get_widget('title'),_('Revision control comment'))
|
Utils.set_titles(self.win,self.top.get_widget('title'),_('Revision control comment'))
|
||||||
self.text = self.top.get_widget("text")
|
self.text = self.top.get_widget("text")
|
||||||
self.win.show()
|
self.win.show()
|
||||||
|
self.win.run()
|
||||||
|
|
||||||
def on_savecomment_clicked(self,obj):
|
def on_savecomment_clicked(self,obj):
|
||||||
comment = unicode(self.text.get_text())
|
comment = unicode(self.text.get_text())
|
||||||
|
@ -77,9 +77,7 @@ def exportData(database, filename, callback):
|
|||||||
compress = GrampsCfg.uncompress == 0 and _gzip_ok == 1
|
compress = GrampsCfg.uncompress == 0 and _gzip_ok == 1
|
||||||
|
|
||||||
try:
|
try:
|
||||||
print "xmlwriter"
|
|
||||||
g = XmlWriter(database,callback,0,compress)
|
g = XmlWriter(database,callback,0,compress)
|
||||||
print "done"
|
|
||||||
g.write(filename)
|
g.write(filename)
|
||||||
except:
|
except:
|
||||||
import DisplayTrace
|
import DisplayTrace
|
||||||
|
Loading…
x
Reference in New Issue
Block a user