Unregister messaging menu entry on exit
This commit is contained in:
parent
2b9817f827
commit
9e21a980cc
|
@ -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()
|
||||
|
|
Reference in New Issue
Block a user