Ignore:
Timestamp:
Sep 9, 2018 2:45:08 AM (6 years ago)
Author:
ibressler
Children:
60a4e71
Parents:
c71b20a
Message:

DataExplorerWindow?.displayFile(): actually test each plot for being hidden

  • got lost during cherry-picking
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/MainWindow/DataExplorer.py

    rc71b20a r8e674ccf  
    575575        new_plots = dict(int = [], res = [], pd = []) 
    576576        for item, plot in plots.items(): 
    577             if self.updatePlot(plot) and filename != plot.name: 
     577            if (self.updatePlot(plot) and filename != plot.name) or plot.hidden: 
    578578                continue 
    579579            # Don't plot intermediate results, e.g. P(Q), S(Q) 
     
    583583            if match and match.groups()[1] != None: 
    584584                continue 
    585             # Don't include plots from different fitpages, but always include the original data 
     585            # Don't include plots from different fitpages, 
     586            # but always include the original data 
    586587            if fitpage_name in plot.name or filename == plot.name: 
    587588                # 'sophisticated' test to generate standalone plot for residuals 
Note: See TracChangeset for help on using the changeset viewer.