Changeset db8590a in sasview


Ignore:
Timestamp:
Oct 22, 2011 10:37:30 PM (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:
2d34d55
Parents:
727a710
Message:

custom smear bug fixed

Location:
fittingview/src/sans/perspectives/fitting
Files:
2 edited

Legend:

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

    r054f004 rdb8590a  
    625625        Reset model state 
    626626        """ 
     627        if event != None: 
     628            event.Skip() 
    627629        menu = event.GetEventObject() 
    628630        ## post help message for the selected model  
     
    771773        self._manager.on_perspective(event) 
    772774        self.onResetModel(event) 
     775        wx.CallAfter(self._onDraw, None) 
     776         
    773777    def old_on_bookmark(self, event): 
    774778        """ 
     
    894898        self.state.dI_sqrdata = copy.deepcopy(self.dI_sqrdata.GetValue()) 
    895899        self.state.dI_idata = copy.deepcopy(self.dI_idata.GetValue()) 
     900        self.state.dq_l = self.dq_l 
     901        self.state.dq_r = self.dq_r 
    896902        if hasattr(self,"enable_disp"): 
    897903            self.state.enable_disp= self.enable_disp.GetValue() 
  • fittingview/src/sans/perspectives/fitting/fitpage.py

    r054f004 rdb8590a  
    12621262            try: 
    12631263                # update smearer sizer 
    1264                 if not self.enable_smearer.GetValue(): 
    1265                     self.disable_smearer.SetValue(True) 
     1264                #if not self.enable_smearer.GetValue(): 
     1265                #    self.disable_smearer.SetValue(True) 
    12661266                self.onSmear(None) 
    12671267                temp_smear = None 
     
    13191319                self.get_paste_params(copy_flag) 
    13201320                 
    1321             self._onDraw(event=None) 
     1321                wx.CallAfter(self._onDraw, None) 
    13221322        else: 
    1323             self._draw_model() 
     1323            wx.CallAfter(self._draw_model) 
    13241324             
    13251325        if self.batch_on: 
Note: See TracChangeset for help on using the changeset viewer.