Ignore:
Timestamp:
Jan 29, 2018 9:33:58 AM (7 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
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:
da9a0722
Parents:
9c0ce68
Message:

unit tests for constraints: FittingWidget?, FittingPerspective?

File:
1 edited

Legend:

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

    r9c0ce68 r63319b0  
    502502        menu = QtWidgets.QMenu() 
    503503        num_rows = len(rows) 
     504        if num_rows < 1: 
     505            return menu 
    504506        # Select for fitting 
    505507        param_string = "parameter " if num_rows==1 else "parameters " 
Note: See TracChangeset for help on using the changeset viewer.