Changeset cdbe88e in sasview for sansview/perspectives/fitting
- Timestamp:
- Apr 28, 2009 11:20:45 AM (16 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:
- 5dc80a0
- Parents:
- e45a565
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/basepage.py
rdf61301 rcdbe88e 818 818 break 819 819 else: 820 ## Select the model from the combobox 820 821 ## Select the model from the menu 821 822 class_name = model.__class__ 822 823 name = model.name … … 824 825 items = self.formfactorbox.GetItems() 825 826 826 for k, list in self.model_list_box.iteritems(): 827 for k, list in self.model_list_box.iteritems(): 827 828 if k in["P(Q)*S(Q)","Shapes" ] and class_name in self.model_list_box["Shapes"]: 828 829 829 if class_name in self.model_list_box["P(Q)*S(Q)"]: 830 830 self.structurebox.Enable() 831 self.structurebox.SetSelection(0) 831 832 else: 832 833 self.structurebox.Disable() … … 846 847 self.shape_indep_rbutton.SetValue(True) 847 848 elif k == "Structure Factors": 848 849 self.struct_rbutton.SetValue(True) 849 850 else: 850 851 self.plugin_rbutton.SetValue(True)
Note: See TracChangeset
for help on using the changeset viewer.