mnelab icon indicating copy to clipboard operation
mnelab copied to clipboard

When a plot window is open don't allow to close the data

Open cbrnr opened this issue 4 years ago • 2 comments

Currently, users can close an open data set even when the plot window is open. Upon closing the plot window, MNELAB crashes because the data set has been closed.

cbrnr avatar Oct 11 '19 08:10 cbrnr

Similar as in #65 MNELAB doesn't crash for the current version on Ubuntu 18.04.

stralu avatar Feb 17 '20 11:02 stralu

This time I still do get an error:

Traceback (most recent call last):
  File "/Users/clemens/Repositories/mnelab/mnelab/mainwindow.py", line 938, in eventFilter
    bads = self.model.current["data"].info["bads"]
TypeError: 'NoneType' object is not subscriptable

cbrnr avatar Feb 17 '20 11:02 cbrnr