Ignore:
Timestamp:
Sep 26, 2018 4:46:21 AM (3 years ago)
Author:
Laura Forster <Awork@…>
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:
8eea1b1
Parents:
9b9ec10
Message:

Few fixes for Copy Excel/Latex? menu option

Just connecting these up in the same way as main copy function so that only current FitPage? tab can be accessed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Fitting/FittingPerspective.py

    r9b9ec10 r20f4857  
    6565        self.communicate.copyFitParamsSignal.connect(self.onParamCopy) 
    6666        self.communicate.pasteFitParamsSignal.connect(self.onParamPaste) 
     67        self.communicate.copyExcelFitParamsSignal.connect(self.onExcelCopy) 
     68        self.communicate.copyLatexFitParamsSignal.connect(self.onLatexCopy) 
     69 
    6770 
    6871        # Perspective window not allowed to close by default 
     
    103106    def onParamPaste(self): 
    104107        self.currentTab.onParameterPaste() 
     108 
     109    def onExcelCopy(self): 
     110        self.currentTab.onParameterCopy("Excel") 
     111 
     112    def onLatexCopy(self): 
     113        self.currentTab.onParameterCopy("Latex") 
    105114 
    106115    def closeEvent(self, event): 
Note: See TracChangeset for help on using the changeset viewer.