Changeset 0f8f831 in sasview for sansview/perspectives
- Timestamp:
- Apr 14, 2011 2:10:04 PM (14 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:
- e9875db
- Parents:
- 0cf97c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitpage.py
r0cf97c5 r0f8f831 305 305 self.slit_smearer.Disable() 306 306 #self.enable_smearer.Disable() 307 if self.data == None: 308 self.slit_smearer.Disable() 309 self.pinhole_smearer.Disable() 310 self.enable_smearer.Disable() 307 311 else: self._show_smear_sizer() 308 312 boxsizer_range.Add(self.sizer_set_masking) … … 1570 1574 self._set_smear(data) 1571 1575 # more disables for 2D 1572 if self.data.__class__.__name__ =="Data2D": 1576 if self.data.__class__.__name__ =="Data2D": 1573 1577 self.slit_smearer.Disable() 1574 1578 self.default_mask = copy.deepcopy(self.data.mask) 1575 1579 else: 1580 self.slit_smearer.Enable(True) 1581 self.pinhole_smearer.Enable(True) 1576 1582 1577 1583 self.formfactorbox.Enable()
Note: See TracChangeset
for help on using the changeset viewer.