bug fixes and history export

This commit is contained in:
ingvar1995 2016-03-15 23:35:15 +03:00
parent ae50efa2e6
commit 44e5e7d0a6
5 changed files with 20 additions and 2 deletions

View file

@ -73,8 +73,10 @@ class Toxygen(object):
self.mainloop.start()
app.connect(app, QtCore.SIGNAL("lastWindowClosed()"), app, QtCore.SLOT("quit()"))
app.exec_()
self.init.stop = True
self.mainloop.stop = True
self.mainloop.wait()
self.init.wait()
data = self.tox.get_savedata()
ProfileHelper.save_profile(data)
del self.tox