Changeset 855e7ad in sasview for src/sas/qtgui/MainWindow


Ignore:
Timestamp:
Sep 13, 2018 9:58:43 AM (6 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
9d23e4c, 768387e0
Parents:
557fc498
Message:

Visibility of P® and I(Q) charts for inversion SASVIEW-995

File:
1 edited

Legend:

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

    r33b3e4d r855e7ad  
    574574        new_plots = [] 
    575575        for item, plot in plots.items(): 
    576             if self.updatePlot(plot) or filename not in plot.name: 
     576            if self.updatePlot(plot): 
     577                # Don't create plots which are already displayed 
    577578                continue 
    578579            # Don't plot intermediate results, e.g. P(Q), S(Q) 
     
    582583                continue 
    583584            # Don't include plots from different fitpages, but always include the original data 
    584             if fitpage_name in plot.name or filename == plot.name: 
     585            if fitpage_name in plot.name or filename in plot.name or filename == plot.filename: 
    585586                # Residuals get their own plot 
    586587                if plot.plot_role == Data1D.ROLE_RESIDUAL: 
Note: See TracChangeset for help on using the changeset viewer.