Changeset 80f56a3 in sasview for fittingview/src/sans/perspectives


Ignore:
Timestamp:
Feb 13, 2012 9:23:39 AM (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:
3d293917
Parents:
bef2377
Message:

fixing the stop button

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fittingview/src/sans/perspectives/fitting/fitpage.py

    rf9feff3 r80f56a3  
    10861086        """ 
    10871087        if event != None: 
    1088             event.Skip() 
     1088            event.Skip()  
    10891089        if len(self.parent._manager.fit_thread_list)>0 and\ 
    10901090                    self.parent._manager._fit_engine != "park" and\ 
     1091                    self._manager.sim_page != None and \ 
    10911092                    self._manager.sim_page.uid == self.uid:  
    10921093            msg = "The FitEnging will be set to 'ParkMC'\n" 
     
    21002101    
    21012102        """ 
     2103        # make sure stop button to fit button all the time 
     2104        self._on_fit_complete() 
    21022105        if out == None or not numpy.isfinite(chisqr): 
    21032106            raise ValueError,"Fit error occured..."  
Note: See TracChangeset for help on using the changeset viewer.