Ignore:
Timestamp:
Nov 21, 2018 5:21:11 AM (6 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
ba400d1
Parents:
c30822c
Message:

Fix minor formatting/display issues with parameters. SASVIEW-1191

File:
1 edited

Legend:

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

    rc4c4957 r7f41584  
    30833083        # cell 3: min value 
    30843084        item3 = QtGui.QStandardItem() 
     3085        # set the cell to be non-editable 
     3086        item3.setFlags(item3.flags() ^ QtCore.Qt.ItemIsEditable) 
    30853087 
    30863088        # cell 4: max value 
    30873089        item4 = QtGui.QStandardItem() 
     3090        # set the cell to be non-editable 
     3091        item4.setFlags(item4.flags() ^ QtCore.Qt.ItemIsEditable) 
    30883092 
    30893093        # cell 4: SLD button 
     
    31253129            # no info about limits 
    31263130            pass 
     3131        except OverflowError: 
     3132            # Try to limit shell_par, if possible 
     3133            if float(shell_par.limits[1])==np.inf: 
     3134                shell_max = 9 
     3135            logging.warning("Limiting shell count to 9.") 
    31273136        except Exception as ex: 
    31283137            logging.error("Badly defined multiplicity: "+ str(ex)) 
Note: See TracChangeset for help on using the changeset viewer.