Ignore:
Timestamp:
Apr 8, 2009 5:02:18 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:
6999659
Parents:
8a1ab69
Message:

disable and enable combo box for multiplication factor

File:
1 edited

Legend:

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

    rb787e68c r3b605bb  
    9999        """     
    100100        self._on_select_model_helper()  
    101         self.set_model_param_sizer(self.model) 
    102         self._set_sizer_gaussian() 
    103         self.name = self.model.name 
    104         self.model_view.SetFocus() 
    105         self.parent.model_page.name = self.name 
    106         self.parent.draw_model_name = self.name 
    107         self._draw_model()   
     101        self.select_model(self.model, self.model.name) 
     102         
    108103        
    109104    def _fill_model_sizer(self, sizer): 
     
    253248        ## keep the sizer view consistent with the model menu selecting 
    254249        self._set_model_sizer_selection( self.model ) 
    255          
     250        self.enable_disp.SetValue(False) 
     251        self.disable_disp.SetValue(True) 
     252        self._set_dipers_Param(event=None) 
    256253        self.model_view.SetFocus() 
    257254                          
Note: See TracChangeset for help on using the changeset viewer.