Changeset 12eac73 in sasview for sansview/perspectives/fitting/basepage.py
- Timestamp:
- Dec 15, 2009 11:24:30 AM (15 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/basepage.py
r6e9976b r12eac73 962 962 self.state_change= True 963 963 self._draw_model() 964 self._sleep4sec()965 self.Layout()966 964 self.Refresh() 967 965 return is_modified … … 1483 1481 wx.PostEvent(self.parent, event) 1484 1482 self.state_change= False 1485 self._sleep4sec() 1486 self.Layout() 1487 self.Refresh() 1483 1488 1484 1489 1485 def _on_select_model_helper(self): … … 1941 1937 self._sleep4sec() 1942 1938 self.Layout() 1943 self._sleep4sec()1939 #self._sleep4sec() 1944 1940 return 1945 1941 1946 1942 def _sleep4sec(self): 1947 1943 """ 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 1949 1946 """ 1950 1947 if ON_MAC == True: 1951 time.sleep( 0.5)1948 time.sleep(1) 1952 1949 1953 1950 def on_reset_clicked(self,event):
Note: See TracChangeset
for help on using the changeset viewer.