- Timestamp:
- Sep 3, 2018 1:42:34 PM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 0d72cac, 1f646618
- Parents:
- d686ff1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/OptionsWidget.py
re20870bc rc0a3b22e 127 127 Callback for running the mask editor 128 128 """ 129 self.parent.communicate.maskEditorSignal.emit(self.logic.data)130 pass129 if isinstance(self.logic.data, Data2D): 130 self.parent.communicate.maskEditorSignal.emit(self.logic.data) 131 131 132 132 def onRangeReset(self): … … 157 157 Enable/disable various UI elements based on data loaded 158 158 """ 159 is2Ddata = isinstance(self.logic.data, Data2D) 159 160 self.boxWeighting.setEnabled(True) 160 self.cmdMaskEdit.setEnabled( True)161 self.cmdMaskEdit.setEnabled(is2Ddata) 161 162 # Switch off txtNpts related controls 162 163 self.txtNpts.setEnabled(False)
Note: See TracChangeset
for help on using the changeset viewer.