From 6ee0f65b120a1ca68a30ad66a61edbc1e9787f21 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 1 Jul 2016 18:47:04 +0800 Subject: [PATCH] browser: ditto 11930228fd6b8a2445f3ae4a9729568bfd2c2ab6 --- artiq/frontend/artiq_browser.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/artiq/frontend/artiq_browser.py b/artiq/frontend/artiq_browser.py index c4bc2a3c0..9307b69f2 100755 --- a/artiq/frontend/artiq_browser.py +++ b/artiq/frontend/artiq_browser.py @@ -99,7 +99,8 @@ class Browser(QtWidgets.QMainWindow): a.triggered.connect(self.experiments.tileSubWindows) g.addAction(a) - def closeEvent(self, *args): + def closeEvent(self, event): + event.ignore() self.exit_request.set() def save_state(self):