Unregister messaging menu entry on exit
This commit is contained in:
parent
2b9817f827
commit
9e21a980cc
|
@ -1569,6 +1569,9 @@ class MyForm(QtGui.QMainWindow):
|
||||||
else:
|
else:
|
||||||
event.ignore()'''
|
event.ignore()'''
|
||||||
shared.doCleanShutdown()
|
shared.doCleanShutdown()
|
||||||
|
# unregister the messaging system
|
||||||
|
if self.mmapp is not None:
|
||||||
|
self.mmapp.unregister()
|
||||||
self.trayIcon.hide()
|
self.trayIcon.hide()
|
||||||
self.statusBar().showMessage('All done. Closing user interface...')
|
self.statusBar().showMessage('All done. Closing user interface...')
|
||||||
event.accept()
|
event.accept()
|
||||||
|
|
Reference in New Issue
Block a user