Changeset 5dc80a0 in sasview
- Timestamp:
- Apr 28, 2009 5:04:36 PM (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:
- 75d0352
- Parents:
- cdbe88e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/basepage.py
rcdbe88e r5dc80a0 775 775 if flag and (class_name in self.model_list_box["Structure Factors"]): 776 776 self.structurebox.Enable() 777 self.text2.Enable() 777 778 items = self.structurebox.GetItems() 778 779 self.sizer1.Layout() … … 830 831 self.structurebox.Enable() 831 832 self.structurebox.SetSelection(0) 833 self.text2.Enable() 832 834 else: 833 835 self.structurebox.Disable() 834 836 self.structurebox.SetSelection(0) 837 self.text2.Disable() 835 838 836 839 self.shape_rbutton.SetValue(True) … … 853 856 self.structurebox.SetSelection(0) 854 857 self.structurebox.Disable() 858 self.text2.Disable() 855 859 ## fill the form factor list with new model 856 860 self._populate_box(self.formfactorbox, list) … … 940 944 self.structurebox.SetSelection(0) 941 945 self.structurebox.Disable() 942 946 self.text2.Disable() 947 943 948 if self.model.__class__ in self.model_list_box["P(Q)*S(Q)"]: 944 949 self.structurebox.Enable() 945 950 self.text2.Enable() 946 951 947 952 ## check model type to show sizer
Note: See TracChangeset
for help on using the changeset viewer.