Changeset 0d13814 in sasview for src/sas/qtgui/Perspectives/Fitting/ViewDelegate.py
- Timestamp:
- Jul 27, 2017 4:05:50 AM (7 years ago)
- Branches:
- 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
- Children:
- 7adc2a8
- Parents:
- b00414d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/ViewDelegate.py
- Property mode changed from 100755 to 100644
rb00414d r0d13814 61 61 editor.setValidator(validator) 62 62 return editor 63 if index.column() in [self.PARAM_PROPERTY, self.PARAM_UNIT]: 64 # Set some columns uneditable 65 return None 63 66 64 67 return super(ModelViewDelegate, self).createEditor(widget, option, index) … … 226 229 Overwrite generic painter for certain columns 227 230 """ 228 if index.column() in (self.mag_min, self.mag_max ):231 if index.column() in (self.mag_min, self.mag_max, self.mag_unit): 229 232 # Units - present in nice HTML 230 233 options = QtGui.QStyleOptionViewItemV4(option)
Note: See TracChangeset
for help on using the changeset viewer.