Changeset 676f137 in sasview for src/sas/qtgui/MainWindow


Ignore:
Timestamp:
Jan 11, 2018 6:04:58 AM (7 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
be8f4b0
Parents:
570e091
Message:

Initial version of the C&S widget

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/MainWindow/GuiManager.py

    re90988c r676f137  
    185185 
    186186        # Save users from themselves... 
    187         if isinstance(self._current_perspective, Perspectives.PERSPECTIVES[str(perspective_name)]): 
    188             self.setupPerspectiveMenubarOptions(self._current_perspective) 
    189             return 
     187        #if isinstance(self._current_perspective, Perspectives.PERSPECTIVES[str(perspective_name)]): 
     188        self.setupPerspectiveMenubarOptions(self._current_perspective) 
     189        #    return 
    190190 
    191191        # Close the previous perspective 
     
    623623    def actionConstrained_Fit(self): 
    624624        """ 
    625         """ 
    626         print("actionConstrained_Fit TRIGGERED") 
    627         pass 
     625        Add a new Constrained and Simult. Fit page in the fitting perspective. 
     626        """ 
     627        per = self.perspective() 
     628        if not isinstance(per, FittingWindow): 
     629            return 
     630        per.addConstraintTab() 
    628631 
    629632    def actionCombine_Batch_Fit(self): 
Note: See TracChangeset for help on using the changeset viewer.