Changes in src/sas/qtgui/Perspectives/Fitting/OptionsWidget.py [e20870bc:c0a3b22e] in sasview
- 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.