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/Perspectives/Inversion/InversionPerspective.py

    r2b8286c r855e7ad  
    1414# pr inversion calculation elements 
    1515from sas.sascalc.pr.invertor import Invertor 
     16from sas.qtgui.Plotting.PlotterData import Data1D 
    1617# Batch calculation display 
    1718from sas.qtgui.Utilities.GridPanel import BatchInversionOutputPanel 
     
    544545        if self.prPlot is not None: 
    545546            title = self.prPlot.name 
     547            self.prPlot.plot_role = Data1D.ROLE_RESIDUAL 
    546548            GuiUtils.updateModelItemWithPlot(self._data, self.prPlot, title) 
    547             self.communicate.plotRequestedSignal.emit([self.prPlot], None) 
    548549        if self.dataPlot is not None: 
    549550            title = self.dataPlot.name 
     551            self.dataPlot.plot_role = Data1D.ROLE_DEFAULT 
    550552            GuiUtils.updateModelItemWithPlot(self._data, self.dataPlot, title) 
    551             self.communicate.plotRequestedSignal.emit([self.dataPlot], None) 
     553        if self.dataPlot is not None or self.prPlot is not None: 
     554            self.communicate.plotRequestedSignal.emit([self.logic.data], None) 
    552555        self.enableButtons() 
    553556 
Note: See TracChangeset for help on using the changeset viewer.