Ignore:
Timestamp:
Apr 21, 2009 5:11:00 PM (16 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:
29953e2
Parents:
eba0cb5f
Message:

saving option for dispersity

File:
1 edited

Legend:

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

    ra7fe3e3 rc477b31  
    137137            self._disp_obj_dict[item] = disp_model 
    138138            self.model.set_dispersion(item, disp_model) 
     139            self.state._disp_obj_dict[item]= disp_model 
     140             
     141             
    139142        ix=0 
    140143        iy=1 
     
    309312                    if item[2]!=None: 
    310313                        item[2].Enable() 
    311                  
     314        self.state.enable2D =  copy.deepcopy(self.enable2D) 
    312315     
    313316                 
     
    546549            else: 
    547550                self.text2_4.Hide() 
    548      
     551        self.state.disp_cb_dict = copy.deepcopy(self.disp_cb_dict)  
    549552        boxsizer1.Add(sizer) 
    550553        self.sizer3.Add(boxsizer1,0, wx.EXPAND | wx.ALL, 10) 
Note: See TracChangeset for help on using the changeset viewer.