Ignore:
Timestamp:
Dec 15, 2009 11:24:30 AM (15 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:
383eeaa
Parents:
a6931f5
Message:

fixed not updating chisqr and model-drawing due to the last changes of evt func for qmin qmax textctrls

File:
1 edited

Legend:

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

    r6e9976b r12eac73  
    962962                self.state_change= True 
    963963                self._draw_model()  
    964                 self._sleep4sec() 
    965                 self.Layout() 
    966964                self.Refresh() 
    967965        return is_modified 
     
    14831481        wx.PostEvent(self.parent, event) 
    14841482        self.state_change= False 
    1485         self._sleep4sec() 
    1486         self.Layout() 
    1487         self.Refresh()         
     1483   
    14881484                    
    14891485    def _on_select_model_helper(self):  
     
    19411937        self._sleep4sec() 
    19421938        self.Layout() 
    1943         self._sleep4sec() 
     1939        #self._sleep4sec() 
    19441940        return  
    19451941     
    19461942    def _sleep4sec(self): 
    19471943        """ 
    1948         sleep for 0.5 sec only on Mac 
     1944            sleep for 1 sec only applied on Mac 
     1945            Note: This 1sec helps for Mac not to crash on self.:ayout after self._draw_model 
    19491946        """ 
    19501947        if ON_MAC == True: 
    1951             time.sleep(0.5) 
     1948            time.sleep(1) 
    19521949              
    19531950    def on_reset_clicked(self,event): 
Note: See TracChangeset for help on using the changeset viewer.