Ignore:
Timestamp:
May 15, 2009 4:30:16 PM (15 years ago)
Author:
Gervaise Alina <gervyh@…>
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, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
138c139
Parents:
111acd2
Message:

working on saving customized dispersity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/modelpage.py

    rdad49a0 r71f0373  
    284284             
    285285        msg = " Selected Distribution: Gaussian"         
    286         wx.PostEvent(self.parent.parent, StatusEvent( status= msg ))    
     286        wx.PostEvent(self.parent.parent, StatusEvent( status= msg ))  
     287        self.state.disp_cb_dict = copy.deepcopy(self.disp_cb_dict)    
    287288        ix =0 
    288289        iy +=1  
     
    334335        """ 
    335336        self.model = model 
     337        if self.model !=None: 
     338            self.disp_list= self.model.getDispParamList() 
    336339        self.set_model_param_sizer(self.model) 
    337340        ## keep the sizer view consistent with the model menu selecting 
     
    562565            else: 
    563566                self.text2_4.Hide() 
    564         self.state.disp_cb_dict = copy.deepcopy(self.disp_cb_dict)  
     567       
    565568        boxsizer1.Add(sizer) 
    566569        self.sizer3.Add(boxsizer1,0, wx.EXPAND | wx.ALL, 10) 
Note: See TracChangeset for help on using the changeset viewer.