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