Ignore:
Timestamp:
Sep 18, 2018 1:51:44 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:
fc5d2d7f
Parents:
1738173
git-author:
Piotr Rozyczko <rozyczko@…> (09/18/18 01:42:03)
git-committer:
Piotr Rozyczko <rozyczko@…> (09/18/18 01:51:44)
Message:

Replaced 'smart' plot generation with explicit plot requests on "Show Plot". SASVIEW-1018

File:
1 edited

Legend:

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

    r855e7ad r9ce69ec  
    547547            self.prPlot.plot_role = Data1D.ROLE_RESIDUAL 
    548548            GuiUtils.updateModelItemWithPlot(self._data, self.prPlot, title) 
     549            self.communicate.plotRequestedSignal.emit([self._data,self.prPlot], None) 
    549550        if self.dataPlot is not None: 
    550551            title = self.dataPlot.name 
    551552            self.dataPlot.plot_role = Data1D.ROLE_DEFAULT 
     553            self.dataPlot.symbol = "Line" 
     554            self.dataPlot.show_errors = False 
    552555            GuiUtils.updateModelItemWithPlot(self._data, self.dataPlot, title) 
    553         if self.dataPlot is not None or self.prPlot is not None: 
    554             self.communicate.plotRequestedSignal.emit([self.logic.data], None) 
     556            self.communicate.plotRequestedSignal.emit([self._data,self.dataPlot], None) 
    555557        self.enableButtons() 
    556558 
Note: See TracChangeset for help on using the changeset viewer.