Changeset d9638fd in sasview for sansview/perspectives


Ignore:
Timestamp:
May 2, 2011 4:40:19 PM (14 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
53fc7636
Parents:
4a74847
Message:

replace _onDraw with _draw_model on model selection

File:
1 edited

Legend:

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

    r6d8053c rd9638fd  
    10591059            ## event to post model to fit to fitting plugins 
    10601060            (ModelEventbox, EVT_MODEL_BOX) = wx.lib.newevent.NewEvent() 
    1061             
     1061          
    10621062            ## set smearing value whether or not  
    10631063            #    the data contain the smearing info 
     
    10711071            self.state.model = self.model.clone() 
    10721072            self.state.model.name = self.model.name 
    1073             if event is not None: 
    1074                 self._draw_model() 
    1075                  
     1073             
    10761074        if event != None: 
    10771075            ## post state to fit panel 
     
    10881086                    self.formfactorbox.SetSelection(pos) 
    10891087                    self.formfactorbox.SetValue(current_val) 
    1090             self._onDraw(event=None) 
     1088            self._draw_model() 
    10911089        self.SetupScrolling() 
    10921090     
Note: See TracChangeset for help on using the changeset viewer.