Ignore:
Timestamp:
Mar 31, 2015 11:52:01 AM (10 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.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:
4342107f, c971c98
Parents:
6987c8a
Message:

reference BumpsFit? directly and remove fit engine selection layer

File:
1 edited

Legend:

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

    r682c432 racf8e4a5  
    183183            return True 
    184184        return False 
    185  
    186     def _on_engine_change(self, name): 
    187         """ 
    188         get the current name of the fit engine type 
    189          and update the panel accordingly 
    190         """ 
    191  
    192         self.engine_type = str(name) 
    193         self.state.engine_type = self.engine_type 
    194         if not self.is_mac: 
    195             if len(self.parameters) == 0: 
    196                 self.Layout() 
    197                 return 
    198             self.Layout() 
    199             self.Refresh() 
    200185 
    201186    def _fill_range_sizer(self): 
     
    28342819            self.SetupScrolling() 
    28352820            return 
    2836         ## the panel is drawn using the current value of the fit engine 
    2837         if self.engine_type == None and self._manager != None: 
    2838             self.engine_type = self._manager._return_engine_type() 
    28392821 
    28402822        box_description = wx.StaticBox(self, -1, str("Model Parameters")) 
Note: See TracChangeset for help on using the changeset viewer.