Changeset 2439c4c in sasview for fittingview/src


Ignore:
Timestamp:
Oct 20, 2011 12:26:59 PM (13 years ago)
Author:
Jae Cho <jhjcho@…>
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:
ee19117
Parents:
cc694d0
Message:

fixing smearer sizer problem on model

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fittingview/src/sans/perspectives/fitting/fitpage.py

    r3b70cc7 r2439c4c  
    25722572            self.smear_description_smear_type.SetValue(str(self.smear_type)) 
    25732573            self.smear_data_left.SetValue(str(self.dq_l))    
    2574             self.smear_data_right.SetValue(str(self.dq_r))        
     2574            self.smear_data_right.SetValue(str(self.dq_r))  
    25752575 
    25762576        self._hide_all_smear_info() 
     
    25782578        data = copy.deepcopy(self.data) 
    25792579        # make sure once more if it is smearer 
    2580         self.current_smearer = smear_selection(data, self.model) 
    2581          
     2580        temp_smearer = smear_selection(data, self.model) 
     2581        if self.current_smearer != temp_smearer: 
     2582            self.current_smearer = temp_smearer 
    25822583        if self.enable_smearer.GetValue(): 
    25832584            if hasattr(self.data,"dxl"): 
     
    25992600        elif self.disable_smearer.GetValue(): 
    26002601            self.smear_description_none.Show(True) 
     2602        elif self.pinhole_smearer.GetValue(): 
     2603            self.onPinholeSmear(None) 
     2604        elif self.slit_smearer.GetValue(): 
     2605            self.onSlitSmear(None) 
    26012606             
    26022607        self._show_smear_sizer() 
Note: See TracChangeset for help on using the changeset viewer.