Commit 88c3efcf authored by Dan Pascu's avatar Dan Pascu

Close all transient windows when the main window closes

parent cf9a8a24
......@@ -137,6 +137,10 @@ class MainWindow(base_class, ui_class):
font.setPixelSize(pixel_size)
self.status.setFont(font)
def closeEvent(self, event):
super(MainWindow, self).closeEvent(event)
self.contact_editor.close()
def set_user_icon(self, image_file_name):
pixmap = QPixmap(32, 32)
pixmap.fill(QColor(Qt.transparent))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment