Ignore:
Timestamp:
Aug 2, 2018 5:53:51 AM (6 years ago)
Author:
Torin Cooper-Bennun <torin.cooper-bennun@…>
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:
c0de493
Parents:
18d5c94a
Message:

keep non-fittable rows selectable, to not break layout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Fitting/FittingUtilities.py

    r18d5c94a rb87dc1a  
    151151 
    152152def markParameterDisabled(model, row): 
    153     """Given the QModel row number, format to show it is not available for 
    154     fitting""" 
    155     items = [model.item(row, c) for c in range(5)] 
     153    """Given the QModel row number, format to show it is not available for fitting""" 
     154 
     155    # If an error column is present, there are a total of 6 columns. 
     156    items = [model.item(row, c) for c in range(6)] 
    156157 
    157158    model.blockSignals(True) 
     
    161162            continue 
    162163        item.setEditable(False) 
    163         item.setSelectable(False) 
    164164        item.setCheckable(False) 
    165165 
Note: See TracChangeset for help on using the changeset viewer.