SasView / sasview

Code for the SasView application.
BSD 3-Clause "New" or "Revised" License
50 stars 41 forks source link

Clicking on a graph in the Windows menu throws an error #3018

Closed butlerpd closed 1 month ago

butlerpd commented 1 month ago

Describe the bug Clicking on a plot in the Window menu no longer brings the plot into focus but throws the following error

00:58:13 - ERROR: TypeError: GuiManager.addPlotItemsInWindowsMenu..() missing 1 required positional argument: 'chk'

To Reproduce Steps to reproduce the behavior:

  1. Makes some fits (NOTE: that only subplots currently will allow a graph to show up in the Windows menu see issue #3017)
  2. Make some plots that include at least one subplot data set in each plot
  3. Go to the Window menu and click on one of the graph windows
  4. Nothing happens except that the error is thrown.

Expected behavior No error is thrown and the selected plot is made the focus

SasView version (please complete the following information):

Operating system (please complete the following information):

Additional context Identified during the NIST CNR summer school

krzywon commented 1 month ago

This is a duplicate of #2837 and has already been fixed in the release branch by #3002.