Changeset 770c42c in sasview for src/sas/qtgui
- Timestamp:
- Mar 27, 2019 12:39:44 PM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl
- Children:
- e900a47, bad4a52
- Parents:
- 460bdf4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/ConstraintWidget.py
r460bdf4 r770c42c 432 432 """ 433 433 item = self.tblConstraints.item(row, column) 434 if column != 0: return 435 # Update the tabs for fitting list 436 constraint = self.available_constraints[row] 437 constraint.active = (item.checkState() == QtCore.Qt.Checked) 434 if column == 0: 435 # Update the tabs for fitting list 436 constraint = self.available_constraints[row] 437 constraint.active = (item.checkState() == QtCore.Qt.Checked) 438 return 438 439 # Update the constraint formula 439 440 constraint = self.available_constraints[row] … … 772 773 item = self.uneditableItem(label) 773 774 item = QtWidgets.QTableWidgetItem(label) 774 item.setFlags(item.flags() ^ QtCore.Qt.ItemIsUserCheckable) 775 # Why was this set to non-interactive?? 776 #item.setFlags(item.flags() ^ QtCore.Qt.ItemIsUserCheckable) 775 777 item.setCheckState(QtCore.Qt.Checked) 776 778 self.tblConstraints.insertRow(pos)
Note: See TracChangeset
for help on using the changeset viewer.