Ignore:
Timestamp:
Sep 8, 2018 4:50:05 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:
76a0ffc
Parents:
2a174d4
git-author:
Piotr Rozyczko <rozyczko@…> (09/08/18 04:49:26)
git-committer:
Piotr Rozyczko <rozyczko@…> (09/08/18 04:50:05)
Message:

Don't show constraint menu on parameter headers.

File:
1 edited

Legend:

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

    r12db2db6 r50cafe7  
    563563        When clicked on white space: model description 
    564564        """ 
    565         rows = [s.row() for s in self.lstParams.selectionModel().selectedRows()] 
     565        rows = [s.row() for s in self.lstParams.selectionModel().selectedRows() 
     566                if self.isCheckable(s.row())] 
    566567        menu = self.showModelDescription() if not rows else self.modelContextMenu(rows) 
    567568        try: 
Note: See TracChangeset for help on using the changeset viewer.