Skip to content

Commit

Permalink
Merge pull request #2781 from SasView/2776-close-all-plots
Browse files Browse the repository at this point in the history
The results panel window is updated when a bumps fit is run. It is held in GuiManager and never closed. I'm merging this.
  • Loading branch information
krzywon authored Jan 22, 2024
2 parents 280cd82 + 4691a56 commit fe8ec80
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sas/qtgui/MainWindow/DataExplorer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1894,7 +1894,9 @@ def closeAllPlots(self):
"""
Close all currently displayed plots
"""

# results panel
self.parent.results_frame.setVisible(False)
# plots
for plot_id in PlotHelper.currentPlotIds():
try:
plotter = PlotHelper.plotById(plot_id)
Expand Down

0 comments on commit fe8ec80

Please sign in to comment.