Ignore:
Timestamp:
Feb 24, 2009 9:46:12 AM (15 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:
cce33b3
Parents:
2a8fac1
Message:

small bugs fixed: clearing slicer improved

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/local_perspectives/plotting/SectorSlicer.py

    r1ce365f8 r18eba35  
    6363         
    6464        # Bind to slice parameter events 
    65         #self.base.parent.Bind(EVT_SLICER_PARS, self._onEVT_SLICER_PARS) 
    6665        self.base.Bind(EVT_SLICER_PARS, self._onEVT_SLICER_PARS) 
    6766 
    6867    def _onEVT_SLICER_PARS(self, event): 
    69         #wx.PostEvent(self.base.parent, StatusEvent(status="SectorSlicer._onEVT_SLICER_PARS")) 
    70         wx.PostEvent(self.base, StatusEvent(status="SectorSlicer._onEVT_SLICER_PARS")) 
     68        
     69        wx.PostEvent(self.base.parent, StatusEvent(status="SectorSlicer._onEVT_SLICER_PARS")) 
    7170        event.Skip() 
    7271        if event.type == self.__class__.__name__: 
     
    9796        self.left_line.clear() 
    9897        self.right_line.clear() 
    99         #self.base.connect.disconnect() 
    100         #self.base.parent.Unbind(EVT_SLICER_PARS) 
     98        self.base.connect.clearall() 
     99         
    101100        self.base.Unbind(EVT_SLICER_PARS) 
    102101         
Note: See TracChangeset for help on using the changeset viewer.