Changeset 73665a8 in sasview for src/sas/qtgui/Perspectives/Fitting
- Timestamp:
- Sep 7, 2018 8:01:07 AM (6 years ago)
- 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:
- 8136e09, 60d55a7
- Parents:
- 66d4370
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
r66d4370 r73665a8 1197 1197 self.updateData() 1198 1198 1199 # update in param model 1200 if model_column in [delegate.poly_pd, delegate.poly_error, delegate.poly_min, delegate.poly_max]: 1201 row = self.getRowFromName(parameter_name) 1202 param_item = self._model_model.item(row) 1203 self._model_model.blockSignals(True) 1204 param_item.child(0).child(0, model_column).setText(item.text()) 1205 self._model_model.blockSignals(False) 1206 1199 1207 def onMagnetModelChange(self, item): 1200 1208 """ … … 2558 2566 def updateFunctionCaption(row): 2559 2567 # Utility function for update of polydispersity function name in the main model 2568 self._model_model.blockSignals(True) 2560 2569 param_name = str(self._model_model.item(row, 0).text()) 2570 self._model_model.blockSignals(False) 2561 2571 if param_name != param.name: 2562 2572 return 2563 2573 # Modify the param value 2574 self._model_model.blockSignals(True) 2564 2575 if self.has_error_column: 2565 2576 # err column changes the indexing … … 2567 2578 else: 2568 2579 self._model_model.item(row, 0).child(0).child(0,4).setText(combo_string) 2580 self._model_model.blockSignals(False) 2569 2581 2570 2582 if combo_string == 'array':
Note: See TracChangeset
for help on using the changeset viewer.