forked from M-Labs/artiq
1
0
Fork 0
This commit is contained in:
Sebastien Bourdeauducq 2016-07-01 18:47:04 +08:00
parent 11930228fd
commit 6ee0f65b12
1 changed files with 2 additions and 1 deletions

View File

@ -99,7 +99,8 @@ class Browser(QtWidgets.QMainWindow):
a.triggered.connect(self.experiments.tileSubWindows) a.triggered.connect(self.experiments.tileSubWindows)
g.addAction(a) g.addAction(a)
def closeEvent(self, *args): def closeEvent(self, event):
event.ignore()
self.exit_request.set() self.exit_request.set()
def save_state(self): def save_state(self):