Changeset 0be6b6b in sasview for src/sas/sasgui
- Timestamp:
- Oct 28, 2017 5:13:30 PM (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:
- ee6ab94, 1c206d9
- Parents:
- 9d819e2
- Location:
- src/sas/sasgui/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/basepage.py
r3bd677b r0be6b6b 3415 3415 if item[2].__class__.__name__ == "ComboBox": 3416 3416 if value[0] in self.model.fun_list: 3417 fun_val = self.model.fun_list[value[0]] 3418 self.model.setParam(name, fun_val) 3417 self.model.setParam(name, 0) 3419 3418 # save state 3420 3419 try: -
src/sas/sasgui/perspectives/fitting/fitpage.py
r3bd677b r0be6b6b 1733 1733 ind = 0 1734 1734 while(ind < len(list)): 1735 for key, val in list.items(): 1736 if val == ind: 1737 fun_box.Append(key, val) 1738 break 1735 fun_box.Append(list[ind]) 1739 1736 ind += 1 1740 1737 … … 1765 1762 value = fun_box.GetValue() 1766 1763 if value in self.model.fun_list: 1767 fun_val = self.model.fun_list[value]1764 fun_val = fun_box.GetSelection() 1768 1765 1769 1766 self.model.setParam(name, fun_val)
Note: See TracChangeset
for help on using the changeset viewer.