Changeset 13a63ab in sasview for guiframe/local_perspectives


Ignore:
Timestamp:
May 13, 2011 3:26:08 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:
a03d419
Parents:
f22e626
Message:

working on delete data

File:
1 edited

Legend:

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

    rdf8a13e r13a63ab  
    1616from sans.guiframe.events import EVT_NEW_PLOT 
    1717from sans.guiframe.events import StatusEvent  
     18from sans.guiframe.events import DeletePlotPanelEvent 
    1819from sans.guiframe.plugin_base import PluginBase 
    1920from sans.guiframe.dataFitting import Data1D 
     
    244245        if group_id in self.plot_panels.keys(): 
    245246            panel = self.plot_panels[group_id] 
     247            wx.PostEvent(self.parent,  
     248                         DeletePlotPanelEvent(name=panel.window_caption, 
     249                                    caption=panel.window_caption)) 
    246250            #remove menu item 
    247251            self.delete_menu_item(panel.window_caption, panel.uid) 
Note: See TracChangeset for help on using the changeset viewer.