Ignore:
Timestamp:
Apr 9, 2009 5:06:08 PM (16 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
2d5f7a1
Parents:
800fc80
Message:

removing unsused code in fitpage

File:
1 edited

Legend:

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

    r7c845cb ra074145  
    3434        description="" 
    3535        if self.model!=None: 
    36             #description = self.page_info.model.description 
    3736            description = self.model.description 
    38             self.set_model_param_sizer(self.model) 
     37             
     38            self.select_model(self.model, self.model.name) 
    3939            self.set_model_description(description,self.sizer2) 
    40          
    41      
    42  
     40             
     41      
     42         
    4343         
    4444    def _on_display_description(self, event): 
     
    5656            @param event: wx.EVT_RADIOBUTTON 
    5757        """ 
    58         ## save state of radiobox 
    59         #self.page_info. save_radiobox_state( self.description_hide ) 
    60         #self.page_info. save_radiobox_state( self.description_show ) 
     58         
    6159        ## Show description 
    6260        if not self.description_show.GetValue(): 
     
    6462             
    6563        else: 
    66             #model=self.page_info.model 
    6764            description="" 
    6865            if self.model!=None: 
    69                 #description = self.page_info.model.description 
    7066                description = self.model.description 
     67                 
    7168            self.description = wx.StaticText( self,-1,str(description) ) 
    7269            self.sizer_description.Add( self.description, 1, wx.EXPAND | wx.ALL, 10 ) 
     
    293290        self.model_description.Bind(wx.EVT_BUTTON,self.on_button_clicked) 
    294291        self.model_description.SetToolTipString("Click Model Functions in HelpWindow...") 
    295          
    296         #self.page_info.save_radiobox_state( self.description_hide ) 
    297         #self.page_info.save_radiobox_state( self.description_show ) 
    298          
     292       
    299293        sizer_selection.Add( self.description_show ) 
    300294        sizer_selection.Add( (20,20))  
Note: See TracChangeset for help on using the changeset viewer.