Changeset db8fd5b in sasview for fittingview/src/sans/perspectives/fitting/basepage.py
- Timestamp:
- Mar 7, 2013 12:17:43 PM (12 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:
- 0d795bf
- Parents:
- 00852df
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/src/sans/perspectives/fitting/basepage.py
r1c6c1b7 rdb8fd5b 938 938 self.state.pinhole_smearer = \ 939 939 copy.deepcopy(self.pinhole_smearer.GetValue()) 940 self.state.dx_max = copy.deepcopy(self.dx_max) 941 self.state.dx_min = copy.deepcopy(self.dx_min) 942 self.state.dxl = copy.deepcopy(self.dxl) 943 self.state.dxw = copy.deepcopy(self.dxw) 940 944 self.state.slit_smearer = copy.deepcopy(self.slit_smearer.GetValue()) 941 945 … … 1351 1355 ## we have two more options for smearing 1352 1356 if self.pinhole_smearer.GetValue(): 1357 self.dx_min = state.dx_min 1358 self.dx_max = state.dx_max 1359 if self.dx_min != None: 1360 self.smear_pinhole_min.SetValue(str(self.dx_min)) 1361 if self.dx_max != None: 1362 self.smear_pinhole_max.SetValue(str(self.dx_max)) 1353 1363 self.onPinholeSmear(event=None) 1354 1364 elif self.slit_smearer.GetValue(): 1365 self.dxl = state.dxl 1366 self.dxw = state.dxw 1367 if self.dxl != None: 1368 self.smear_slit_height.SetValue(str(self.dxl)) 1369 if self.dxw != None: 1370 self.smear_slit_width.SetValue(str(self.dxw)) 1355 1371 self.onSlitSmear(event=None) 1356 1372
Note: See TracChangeset
for help on using the changeset viewer.