mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-11-28 20:17:59 +01:00
fix(main_window): delete on close
This commit is contained in:
1 parent
21862e8021
commit
b585a608c7
1 file changed
+1
@@ -50,6 +50,7 @@ class BECMainWindow(BECWidget, QMainWindow):
|
||||
self.app = QApplication.instance()
|
||||
self.status_bar = self.statusBar()
|
||||
self.setWindowTitle(window_title)
|
||||
self.setAttribute(Qt.WidgetAttribute.WA_DeleteOnClose, True)
|
||||
|
||||
# Notification Centre overlay
|
||||
self.notification_centre = NotificationCentre(parent=self) # Notification layer
|
||||
|
||||
Reference in new issue
Block a user