Changeset 75d0352 in sasview for sansview


Ignore:
Timestamp:
Apr 28, 2009 5:13:58 PM (16 years ago)
Author:
Jae Cho <jhjcho@…>
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
Message:

reverted (found an error)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/basepage.py

    r5dc80a0 r75d0352  
    775775            if flag and (class_name in self.model_list_box["Structure Factors"]): 
    776776                self.structurebox.Enable() 
    777                 self.text2.Enable() 
    778777                items = self.structurebox.GetItems() 
    779778                self.sizer1.Layout() 
     
    831830                        self.structurebox.Enable() 
    832831                        self.structurebox.SetSelection(0) 
    833                         self.text2.Enable() 
    834832                    else: 
    835833                        self.structurebox.Disable() 
    836834                        self.structurebox.SetSelection(0) 
    837                         self.text2.Disable() 
    838835                         
    839836                    self.shape_rbutton.SetValue(True) 
     
    856853                    self.structurebox.SetSelection(0) 
    857854                    self.structurebox.Disable() 
    858                     self.text2.Disable()                     
    859855                    ## fill the form factor list with new model 
    860856                    self._populate_box(self.formfactorbox, list) 
     
    944940            self.structurebox.SetSelection(0) 
    945941            self.structurebox.Disable() 
    946             self.text2.Disable() 
    947               
     942  
    948943            if self.model.__class__ in self.model_list_box["P(Q)*S(Q)"]: 
    949944                self.structurebox.Enable() 
    950                 self.text2.Enable()             
     945             
    951946         
    952947        ## check model type to show sizer 
Note: See TracChangeset for help on using the changeset viewer.