Ignore:
Timestamp:
Oct 6, 2016 12:45:54 PM (5 years ago)
Author:
Mathieu Doucet <doucetm@…>
Branches:
master, 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, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
b2a3814, 9b6d62d
Parents:
8d3d20a
Message:

Remove "select all" box. Fixes #697 Fixes #698

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.