- Timestamp:
- Nov 27, 2018 8:03:12 AM (6 years ago)
- 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:
- 9d23e4c
- Parents:
- 1b03c0a
- Location:
- src/sas/qtgui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/MainWindow/DataExplorer.py
re5ae812 rba8046c 1599 1599 while len(indices) > 0: 1600 1600 index = indices[0] 1601 #row_index = proxy.mapToSource(index) 1602 #item_to_delete = model.itemFromIndex(row_index) 1603 item_to_delete = model.itemFromIndex(index) 1601 row_index = proxy.mapToSource(index) 1602 item_to_delete = model.itemFromIndex(row_index) 1604 1603 if item_to_delete and item_to_delete.isCheckable(): 1605 #row = row_index.row() 1606 row = index.row() 1604 row = row_index.row() 1607 1605 1608 1606 # store the deleted item details so we can pass them on later -
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
r1b03c0a rba8046c 3055 3055 self.iterateOverModel(updateFunctionCaption) 3056 3056 self.kernel_module.set_dispersion(param.name, self.disp_model) 3057 # uncheck the parameter 3058 self._poly_model.item(row_index, 0).setCheckState(QtCore.Qt.Unchecked) 3057 3059 # disable the row 3058 lo = self.lstPoly.itemDelegate().poly_p d3060 lo = self.lstPoly.itemDelegate().poly_parameter 3059 3061 hi = self.lstPoly.itemDelegate().poly_function 3060 3062 self._poly_model.blockSignals(True)
Note: See TracChangeset
for help on using the changeset viewer.