Changeset 70468a5 in sasview for sansview/perspectives


Ignore:
Timestamp:
Jun 30, 2011 5:05:21 PM (13 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:
8d8415f
Parents:
977a965
Message:

faster gui-updating on selecting a model

Location:
sansview/perspectives/fitting
Files:
2 edited

Legend:

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

    r977a965 r70468a5  
    495495            previous_state = self.saved_states[name] 
    496496            ## reset state of checkbox,textcrtl  and  regular parameters value 
     497            self.Show(False) 
    497498            self.reset_page(previous_state)    
    498          
     499            self.Show(True) 
    499500                
    500501    def on_preview(self, event): 
  • sansview/perspectives/fitting/fitpage.py

    r0145a25 r70468a5  
    10561056        """   
    10571057         
    1058              
     1058        self.Show(False)     
    10591059        self._on_select_model_helper()  
    10601060        self.set_model_param_sizer(self.model)                    
     
    11331133            self._draw_model() 
    11341134        self.SetupScrolling() 
    1135      
     1135        self.Show(True)    
    11361136       
    11371137    def _onparamEnter(self,event): 
     
    28672867        self.sizer3.Layout() 
    28682868        self.Layout() 
    2869         self.Refresh() 
    2870          
     2869        #self.Refresh() 
     2870 
    28712871    def on_right_down(self, event): 
    28722872        """ 
Note: See TracChangeset for help on using the changeset viewer.