Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/fitting/basepage.py

    rc65a265 r4c3be25  
    143143        self.theory_qmin_x = None 
    144144        self.theory_qmax_x = None 
    145         self.cb1 = None 
    146145        self.btEditMask = None 
    147146        self.btFit = None 
     
    11971196        # set data, etc. from the state 
    11981197        # reset page between theory and fitting from bookmarking 
    1199         #if state.data == None: 
    1200         #    data = None 
    1201         #else: 
    12021198        data = state.data 
    12031199 
     
    12251221        self.disp_cb_dict = state.disp_cb_dict 
    12261222        self.disp_list = state.disp_list 
    1227  
    1228         ## set the state of the radio box 
    1229         #self.shape_rbutton.SetValue(state.shape_rbutton) 
    1230         #self.shape_indep_rbutton.SetValue(state.shape_indep_rbutton) 
    1231         #self.struct_rbutton.SetValue(state.struct_rbutton) 
    1232         #self.plugin_rbutton.SetValue(state.plugin_rbutton) 
    12331223 
    12341224        ## fill model combobox 
     
    12861276            else: 
    12871277                self.model_view.SetLabel("1D Mode") 
    1288  
    1289         ## set the select all check box to the a given state 
    1290         self.cb1.SetValue(state.cb1) 
    12911278 
    12921279        ## reset state of checkbox,textcrtl  and  regular parameters value 
     
    14181405                        except Exception: 
    14191406                            logging.error(traceback.format_exc()) 
    1420  
    1421         # Make sure the check box updated when all checked 
    1422         if self.cb1.GetValue(): 
    1423             self.select_all_param(None) 
    14241407 
    14251408    def _selectDlg(self): 
     
    25572540                        item[2].Enable() 
    25582541 
    2559             # Make sure the check box updated when all checked 
    2560             if self.cb1.GetValue(): 
    2561                 #self.select_all_param(None) 
    2562                 self.get_all_checked_params() 
     2542            # Make sure the check box updated 
     2543            self.get_all_checked_params() 
    25632544 
    25642545            # update params 
     
    37153696        call back for model selection if implemented 
    37163697        """ 
    3717     def select_all_param(self, event): 
    3718         """ 
    3719         set to true or false all checkBox if implemented 
    3720         """ 
    37213698    def get_weight_flag(self): 
    37223699        """ 
Note: See TracChangeset for help on using the changeset viewer.