Changeset e8ec2fc in sasview


Ignore:
Timestamp:
Oct 27, 2009 9:39:01 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:
cc1500d
Parents:
4cabee7
Message:

fixed fitting crash on Mac

Location:
sansview/perspectives/fitting
Files:
2 edited

Legend:

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

    r4cabee7 re8ec2fc  
    138138                    item[6].Show(True) 
    139139      
    140         self.sizer3.Layout() 
    141140 
    142141        self.SetScrollbars(20,20,25,65) 
  • sansview/perspectives/fitting/fitting.py

    r4cabee7 re8ec2fc  
    489489 
    490490            self.calc_fit.queue() 
    491                         #Mac crashes on this. 
    492             #self.calc_fit.ready(2.5) 
    493             time.sleep(0.5) 
     491            if fitproble_count > 1: 
     492                        #Mac crashes on this. 
     493                self.calc_fit.ready(2.5) 
     494            else: 
     495                time.sleep(0.5) 
    494496         
    495497        except FitAbort: 
Note: See TracChangeset for help on using the changeset viewer.