Changeset 42d79fc in sasview for src/sas


Ignore:
Timestamp:
Sep 19, 2018 5:33:10 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:
ccd2b87
Parents:
d7adf97
Message:

Disabling reporting for perspectives other than fitting

Location:
src/sas/qtgui/Perspectives
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Corfunc/CorfuncPerspective.py

    re9359e0a r42d79fc  
    123123        # Set up the model. 
    124124        self.setup_model() 
     125 
     126        #Disable reporting results 
     127        self.parent._workspace.actionReport.setEnabled(False) 
    125128 
    126129        # Set up the mapper 
  • src/sas/qtgui/Perspectives/Fitting/FittingPerspective.py

    r10fee37 r42d79fc  
    7878 
    7979        self.updateWindowTitle() 
     80 
     81        #Enabling Results reporting 
     82        self.parent._workspace.actionReport.setEnabled(True) 
     83 
    8084 
    8185    def updateWindowTitle(self): 
  • src/sas/qtgui/Perspectives/Invariant/InvariantPerspective.py

    r9ce69ec r42d79fc  
    112112        # Let's choose the Standard Item Model. 
    113113        self.model = QtGui.QStandardItemModel(self) 
     114 
     115        #Disable reporting results 
     116        self.parent._workspace.actionReport.setEnabled(False) 
    114117 
    115118        # Connect buttons to slots. 
  • src/sas/qtgui/Perspectives/Inversion/InversionPerspective.py

    rd7adf97 r42d79fc  
    5555 
    5656        self._manager = parent 
     57        #Needed for Batch fitting 
    5758        self._parent = parent 
    5859        self.communicate = parent.communicator() 
     
    113114        # Set up the Widget Map 
    114115        self.setupMapper() 
     116 
     117        #Disable reporting results 
     118        self._parent._workspace.actionReport.setEnabled(False) 
    115119 
    116120        #Hidding calculate all buton 
Note: See TracChangeset for help on using the changeset viewer.