Changeset ae56c90 in sasview for fittingview/src/sans


Ignore:
Timestamp:
Mar 22, 2012 3:30:12 PM (13 years ago)
Author:
Mathieu Doucet <doucetm@…>
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:
f74673c
Parents:
4e0dfe4
Message:

Fix RHEL 6 crash problem

File:
1 edited

Legend:

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

    r8247523 rae56c90  
    155155        """ 
    156156        self.btFit.SetLabel("Fit") 
    157         self.bind_fit_button() 
    158157         
    159158    def _is_2D(self): 
     
    10851084        Allow to fit 
    10861085        """ 
     1086        if self.fit_started: 
     1087            self._StopFit() 
     1088             
    10871089        if event != None: 
    10881090            event.Skip()  
     
    11451147        #single fit  
    11461148        self._manager.onFit(uid=self.uid) 
     1149        self.fit_started = True 
    11471150        self.btFit.SetLabel("Stop") 
    1148         self.bind_fit_button() 
    11491151            
    11501152    def get_weight_flag(self): 
Note: See TracChangeset for help on using the changeset viewer.