Changeset 9c1af44 in sasview


Ignore:
Timestamp:
Oct 11, 2011 6:40:41 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:
92a5ac92
Parents:
d7345b71
Message:

fixed a smearer resetting problem in batch_page on selecting a data

File:
1 edited

Legend:

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

    r6a4002d r9c1af44  
    17801780            return 
    17811781        self.current_smearer = smear_selection(data, self.model) 
    1782         self.disable_smearer.SetValue(True) 
     1782        flag =  self.disable_smearer.GetValue() 
     1783        self.disable_smearer.SetValue(flag) 
    17831784        if self.current_smearer == None: 
    17841785            self.enable_smearer.Disable() 
    17851786        else: 
    17861787            self.enable_smearer.Enable() 
     1788        if not flag: 
     1789            self.onSmear(None) 
    17871790 
    17881791    def _mac_sleep(self, sec=0.2): 
Note: See TracChangeset for help on using the changeset viewer.