[bugfix] when closing mainwindow, also close logwidget
This commit is contained in:
parent
5449210797
commit
f1fd52b750
1
PyLoT.py
1
PyLoT.py
@ -3729,6 +3729,7 @@ class MainWindow(QMainWindow):
|
||||
|
||||
def closeEvent(self, event):
|
||||
if self.okToContinue():
|
||||
self.logwidget.close()
|
||||
event.accept()
|
||||
else:
|
||||
event.ignore()
|
||||
|
Loading…
x
Reference in New Issue
Block a user