Changeset d8c54ead in sasview for sansview/perspectives
- Timestamp:
- Jun 28, 2011 4:07:18 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:
- 2d603a2
- Parents:
- 2c6b224
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/basepage.py
r07c8630 rd8c54ead 2793 2793 if name in content.keys(): 2794 2794 # Avoid changing combox content which needs special care 2795 if item[2].__class__.__name__ != "ComboBox": 2796 item[2].SetValue(content[name]) 2797 2795 value = content[name] 2796 item[2].SetValue(value) 2797 if item[2].__class__.__name__ == "ComboBox": 2798 if self.model.fun_list.has_key(value): 2799 fun_val = self.model.fun_list[value] 2800 self.model.setParam(name,fun_val) 2801 # save state 2802 #self._copy_parameters_state(self.str_parameters, 2803 # self.state.str_parameters) 2798 2804
Note: See TracChangeset
for help on using the changeset viewer.