Changes in src/sas/qtgui/Perspectives/Fitting/OptionsWidget.py [c0a3b22e:e20870bc] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/sas/qtgui/Perspectives/Fitting/OptionsWidget.py ¶
rc0a3b22e re20870bc 127 127 Callback for running the mask editor 128 128 """ 129 if isinstance(self.logic.data, Data2D):130 self.parent.communicate.maskEditorSignal.emit(self.logic.data)129 self.parent.communicate.maskEditorSignal.emit(self.logic.data) 130 pass 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)160 159 self.boxWeighting.setEnabled(True) 161 self.cmdMaskEdit.setEnabled( is2Ddata)160 self.cmdMaskEdit.setEnabled(True) 162 161 # Switch off txtNpts related controls 163 162 self.txtNpts.setEnabled(False)
Note: See TracChangeset
for help on using the changeset viewer.