Ignore:
Timestamp:
Sep 13, 2018 9:59:29 AM (6 years ago)
Author:
wojciech
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
9f2f713
Parents:
eeea6a3 (diff), 855e7ad (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'ESS_GUI' of https://github.com/SasView/sasview into ESS_GUI_Pr_fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Inversion/InversionPerspective.py

    reeea6a3 r4b7d322  
    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 
     
    559560        if self.prPlot is not None: 
    560561            title = self.prPlot.name 
     562            self.prPlot.plot_role = Data1D.ROLE_RESIDUAL 
    561563            GuiUtils.updateModelItemWithPlot(self._data, self.prPlot, title) 
    562             self.communicate.plotRequestedSignal.emit([self.prPlot], None) 
    563564        if self.dataPlot is not None: 
    564565            title = self.dataPlot.name 
     566            self.dataPlot.plot_role = Data1D.ROLE_DEFAULT 
    565567            GuiUtils.updateModelItemWithPlot(self._data, self.dataPlot, title) 
    566             self.communicate.plotRequestedSignal.emit([self.dataPlot], None) 
     568        if self.dataPlot is not None or self.prPlot is not None: 
     569            self.communicate.plotRequestedSignal.emit([self.logic.data], None) 
    567570        self.enableButtons() 
    568571 
Note: See TracChangeset for help on using the changeset viewer.