Changeset 5265420 in sasview


Ignore:
Timestamp:
Apr 27, 2015 6:54:13 PM (10 years ago)
Author:
Paul Kienzle <pkienzle@…>
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:
66f21cd
Parents:
3cd840f
Message:

Fix the resolution reset problem by removing the Fit button disable
step. For reasons unknown, self.btFit.Enable(False) somehow triggers
self.disable_smeared even though the buttons are of different type and
have different ids. This is a probably a bug in wx. Fixes #405.

File:
1 edited

Legend:

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

    r3cd840f r5265420  
    10621062            label = "Fit" 
    10631063            color = "black" 
    1064         self.btFit.Enable(False) 
     1064        #self.btFit.Enable(False) 
    10651065        self.btFit.SetLabel(label) 
    10661066        self.btFit.SetForegroundColour(color) 
Note: See TracChangeset for help on using the changeset viewer.