Changeset 287d356 in sasview for src/sas/qtgui/Perspectives


Ignore:
Timestamp:
Sep 4, 2018 8:58:12 AM (6 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
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:
d738feb
Parents:
e3df84e
Message:

Don't wantonly cast parameter names into lower case. SASVIEW-1016

File:
1 edited

Legend:

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

    re3df84e r287d356  
    11361136        model_row = item.row() 
    11371137        name_index = self._poly_model.index(model_row, 0) 
    1138         parameter_name = str(name_index.data()).lower() # "distribution of sld" etc. 
    1139         if "distribution of" in parameter_name: 
     1138        parameter_name = str(name_index.data()) # "distribution of sld" etc. 
     1139        if "istribution of" in parameter_name: 
    11401140            # just the last word 
    11411141            parameter_name = parameter_name.rsplit()[-1] 
Note: See TracChangeset for help on using the changeset viewer.