Closed lozanodorian closed 1 year ago
Same reason as #2526
It seems there is an event filter somewhere, which prohibits custom QtWidget.closeEvent()
from being called on widget close.
This is NOT a Pyside6 issue.
The custom slot is never called so the plot accounting does not work and dragons abound.
Describe the bug Probably linked to the precedent issue #2526. A dataset cannot be deleted from the Data Explorer Pannel once any of the following windows has been closed :
An example of error message (here, model plot and residuals are closed and the
sphere_80.txt
dataset is chosen) :Sometimes a second message is printed:
To Reproduce Steps to reproduce the behavior:
Compute/Plot button
Data Explorer > Data
menu and click onDelete
Yes
buttonNote : close a chisquare window after using the
Fit
button instead of theCompute/Plot
button doesn't cause the bug. In that case, we observe the expected behaviour, but an error message appears (several times) in the terminal......and sometimes the following message also appears :
Expected behavior The dataset should disappear from
Data Explorer > Data
menu, with all the plots linked to it.SasView version:
Operating system: