Changeset df4af9b in sasview
- Timestamp:
- Nov 1, 2017 4:43:39 AM (7 years ago)
- Branches:
- master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- b6b81a3
- Parents:
- 1c206d9
- Location:
- src/sas/sasgui/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/basepage.py
r0be6b6b rdf4af9b 3415 3415 if item[2].__class__.__name__ == "ComboBox": 3416 3416 if value[0] in self.model.fun_list: 3417 self.model.setParam(name, 0) 3417 fun_val = self.model.fun_list[value[0]] 3418 self.model.setParam(name, fun_val) 3418 3419 # save state 3419 3420 try: -
src/sas/sasgui/perspectives/fitting/fitpage.py
r0be6b6b rdf4af9b 1733 1733 ind = 0 1734 1734 while(ind < len(list)): 1735 fun_box.Append(list[ind]) 1735 for key, val in list.items(): 1736 if val == ind: 1737 fun_box.Append(key, val) 1738 break 1736 1739 ind += 1 1737 1740 … … 1762 1765 value = fun_box.GetValue() 1763 1766 if value in self.model.fun_list: 1764 fun_val = fun_box.GetSelection()1767 fun_val = self.model.fun_list[value] 1765 1768 1766 1769 self.model.setParam(name, fun_val)
Note: See TracChangeset
for help on using the changeset viewer.