Changeset 247cb58 in sasview for sansview/perspectives/fitting/basepage.py
- Timestamp:
- Apr 15, 2010 12:57:33 PM (15 years ago)
- 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:
- 2339249f
- Parents:
- 8ea48a0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/basepage.py
r5d81167 r247cb58 1035 1035 # set mask 1036 1036 is_modified = self._validate_Npts() 1037 1037 1038 1038 else: 1039 1039 self.fitrange = False … … 1041 1041 ## if any value is modify draw model with new value 1042 1042 if not self.fitrange: 1043 self.btFit.Disable()1043 #self.btFit.Disable() 1044 1044 if is_2Ddata: self.btEditMask.Disable() 1045 1045 else: 1046 self.btFit.Enable(True)1046 #self.btFit.Enable(True) 1047 1047 if is_2Ddata: self.btEditMask.Enable(True) 1048 1048 … … 1116 1116 #For invalid q range, disable the mask editor and fit button, vs. 1117 1117 if not self.fitrange: 1118 self.btFit.Disable()1118 #self.btFit.Disable() 1119 1119 self.btEditMask.Disable() 1120 1120 else: 1121 self.btFit.Enable(True)1121 #self.btFit.Enable(True) 1122 1122 self.btEditMask.Enable(True) 1123 1123
Note: See TracChangeset
for help on using the changeset viewer.