Changeset b8bdbcc in sasview for src/sas/qtgui
- Timestamp:
- Mar 28, 2019 10:20:50 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_opencl
- Children:
- b016f17
- Parents:
- e900a47
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
re900a47 rb8bdbcc 1161 1161 if category == CATEGORY_STRUCTURE: 1162 1162 model = None 1163 # copy original clipboard 1164 cb = QtWidgets.QApplication.clipboard() 1165 cb_text = cb.text() 1166 # get the screenshot of the current param state 1167 self.onCopyToClipboard("") 1163 1168 1164 1169 # Reset parameters to fit … … 1168 1173 1169 1174 self.respondToModelStructure(model=model, structure_factor=structure) 1175 # recast the original parameters into the model 1176 self.onParameterPaste() 1177 # revert to the original clipboard 1178 cb.setText(cb_text) 1170 1179 1171 1180 def resetParametersToFit(self):
Note: See TracChangeset
for help on using the changeset viewer.