Ignore:
Timestamp:
Feb 14, 2017 3:45:01 PM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
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.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
5156918
Parents:
2510b9b
Message:

remove unnecessary sleep

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/fitting/fitpage.py

    ra6fccd7 r1a8e13f0  
    18301830            self.onSmear(None) 
    18311831 
    1832     def _mac_sleep(self, sec=0.2): 
    1833         """ 
    1834         Give sleep to MAC 
    1835         """ 
    1836         if self.is_mac: 
    1837             time.sleep(sec) 
    1838  
    18391832    def get_view_mode(self): 
    18401833        """ 
     
    21962189        self.save_current_state() 
    21972190 
    2198         if not self.is_mac: 
    2199             self.Layout() 
    2200             self.Refresh() 
    2201         self._mac_sleep(0.1) 
    22022191        # plot model ( when drawing, do not update chisqr value again) 
    22032192        self._draw_model(update_chisqr=False, source='fit') 
Note: See TracChangeset for help on using the changeset viewer.