Changeset 19403da in sasview for sansview/perspectives
- Timestamp:
- Apr 14, 2010 12:56:57 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:
- aef2cf2
- Parents:
- 36bc34e
- Location:
- sansview/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/basepage.py
r6318298 r19403da 2095 2095 boxsizer1.Add((10,15)) 2096 2096 boxsizer1.Add(object) 2097 if not is_2Ddata: 2097 if is_2Ddata: 2098 self.btEditMask.Enable() 2099 self.EditMask_title.Enable() 2100 else: 2098 2101 self.btEditMask.Disable() 2099 self.EditMask_title.Disable() 2102 self.EditMask_title.Disable() 2100 2103 ## save state 2101 2104 self.save_current_state() -
sansview/perspectives/fitting/fitpage.py
r6318298 r19403da 1183 1183 #default:number of data points selected to fit 1184 1184 self.Npts_fit.SetValue(str(len(self.data.x))) 1185 self.btEditMask.Disable() 1186 self.EditMask_title.Disable() 1185 1187 else: 1186 1188 ## Minimum value of data … … 1194 1196 #default:number of data points selected to fit 1195 1197 self.Npts_fit.SetValue(str(len(self.data.data))) 1198 self.btEditMask.Enable() 1199 self.EditMask_title.Enable() 1200 1196 1201 1197 1202 self.dataSource.SetValue(data_name)
Note: See TracChangeset
for help on using the changeset viewer.