v0.2.4
This commit is contained in:
parent
adcc32fc49
commit
a7431cadd1
7 changed files with 631 additions and 490 deletions
|
|
@ -326,10 +326,10 @@ class MainWindow(QtGui.QMainWindow, Singleton):
|
|||
self.profile = Profile(tox, self)
|
||||
|
||||
def closeEvent(self, event):
|
||||
self.profile.save_history()
|
||||
self.profile.close()
|
||||
s = Settings.get_instance()
|
||||
if not s['close_to_tray'] or s.closing:
|
||||
self.profile.save_history()
|
||||
self.profile.close()
|
||||
s['x'] = self.geometry().x()
|
||||
s['y'] = self.geometry().y()
|
||||
s['width'] = self.width()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue