Changeset f74673c in sasview for fittingview/src/sans
- Timestamp:
- Mar 22, 2012 4:37:07 PM (13 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 560c4d8
- Parents:
- ae56c90
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/src/sans/perspectives/fitting/basepage.py
rd2c4c06 rf74673c 1975 1975 item must model class 1976 1976 """ 1977 mlist = [] 1977 1978 for models in list: 1978 1979 model= models() … … 1981 1982 if hasattr(model, "name"): 1982 1983 name = model.name 1983 combobox.Append(name,models) 1984 mlist.append( (name, models) ) 1985 1986 # Sort the models 1987 mlist_sorted = sorted(mlist) 1988 for item in mlist_sorted: 1989 combobox.Append(item[0],item[1]) 1984 1990 return 0 1985 1991
Note: See TracChangeset
for help on using the changeset viewer.