Unregister messaging menu entry on exit

This commit is contained in:
fuzzgun 2013-05-11 18:18:43 +01:00
parent 2b9817f827
commit 9e21a980cc

View File

@ -1569,6 +1569,9 @@ class MyForm(QtGui.QMainWindow):
else:
event.ignore()'''
shared.doCleanShutdown()
# unregister the messaging system
if self.mmapp is not None:
self.mmapp.unregister()
self.trayIcon.hide()
self.statusBar().showMessage('All done. Closing user interface...')
event.accept()