Ignore:
Timestamp:
Dec 19, 2016 7:23:36 AM (8 years ago)
Author:
GitHub <noreply@…>
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:
b61bd57
Parents:
f2724b6
git-author:
jhbakker <j.h.bakker@…> (12/19/16 07:23:36)
git-committer:
GitHub <noreply@…> (12/19/16 07:23:36)
Message:

Revert "Jurtest2"

File:
1 edited

Legend:

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

    rf668101 r345e7e4  
    168168            self.set_data(data) 
    169169        elif self.dataSource.GetCount() > 0: 
    170  
    171170            pos = self.dataSource.GetSelection() 
    172171            data = self.dataSource.GetClientData(pos) 
     
    618617        # fill a sizer with the combobox to select dispersion type 
    619618        model_disp = wx.StaticText(self, wx.ID_ANY, 'Function') 
    620         CHECK_STATE = self.cb1.GetValue() 
     619        CHECK_STATE = False 
    621620 
    622621        ix = 0 
     
    962961 
    963962        self.state.model = self.model.clone() 
    964  
    965963        # save state into 
    966964        self._copy_parameters_state(self.parameters, self.state.parameters) 
     
    973971        wx.PostEvent(self.parent, 
    974972                     StatusEvent(status=" Selected Distribution: Gaussian")) 
    975  
    976973        # Fill the list of fittable parameters 
    977974        self.get_all_checked_params() 
     
    26852682        self._manager.set_param2fit(self.uid, param2fit) 
    26862683 
    2687  
    26882684    def select_param(self, event=None): 
    26892685        """ 
     
    27322728        if len(self.fittable_param) > 0: 
    27332729            len_orient_para *= 2 
    2734         #Set the value of checkbox that selected every checkbox or not 
    2735         if len(self.parameters) + len(self.fittable_param) - len_orient_para \ 
    2736             == len(self.param_toFit): 
    2737             self.cb1.SetValue(True) 
    2738         else: 
    2739             self.cb1.SetValue(False) 
    27402730 
    27412731        self.save_current_state_fit() 
     
    28392829        iy = 0 
    28402830        ix = 0 
    2841         select_text = "Select All" 
    2842         self.cb1 = wx.CheckBox(self, wx.ID_ANY, str(select_text), (10, 10)) 
    2843         wx.EVT_CHECKBOX(self, self.cb1.GetId(), self.select_all_param) 
    2844         self.cb1.SetToolTipString("To check/uncheck all the boxes below.") 
    2845         self.cb1.SetValue(True) 
    2846  
    2847         sizer.Add(self.cb1, (iy, ix), (1, 1), \ 
    2848                              wx.LEFT | wx.EXPAND | wx.ADJUST_MINSIZE, 5) 
     2831        sizer.Add(wx.StaticText(self, wx.ID_ANY, 'Parameter'), 
     2832                  (iy, ix), (1, 1), wx.EXPAND | wx.ADJUST_MINSIZE, 0) 
    28492833        ix += 1 
    28502834        self.text2_2 = wx.StaticText(self, wx.ID_ANY, 'Value') 
     
    28732857        self.text2_4.Hide() 
    28742858 
    2875         CHECK_STATE = self.cb1.GetValue() 
     2859        CHECK_STATE = False 
    28762860        for item in keys: 
    28772861 
Note: See TracChangeset for help on using the changeset viewer.