Changeset df3c5d6 in sasview
- Timestamp:
- Mar 29, 2019 1:20:37 PM (6 years ago)
- Branches:
- ESS_GUI_bumps_abstraction
- Children:
- 3a3f192
- Parents:
- 09e651d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingOptions.py
r09e651d rdf3c5d6 351 351 Returns the widget associated to a FittingMethodParameter. 352 352 """ 353 if paramShortName not in fittingMethod.params: 354 return None 353 if (not isinstance(fittingMethod, FittingMethod) 354 or paramShortName not in fittingMethod.params): 355 return 355 356 widget_name = 'self.'+paramShortName+'_'+fittingMethod.shortName 356 357 widget = None … … 429 430 430 431 def updateConfigFromWidget(self, fittingMethod): 432 """ 433 Updates the given FittingMethod with the values from the GUI widgets. 434 Does not respect the given data types in the FittingMethod (yet?). 435 """ 436 if not isinstance(fittingMethod, FittingMethod): 437 return 431 438 # update config values from widgets before any notification is sent 432 439 for param in fittingMethod.params.values():
Note: See TracChangeset
for help on using the changeset viewer.