Changeset 2a62d5c in sasview for guiframe/gui_manager.py


Ignore:
Timestamp:
Apr 20, 2011 7:51:12 PM (13 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:
2657df9
Parents:
d4d78c9
Message:

working on data_panel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/gui_manager.py

    r3554fd39 r2a62d5c  
    11131113            self._mgr.DetachPane(panel) 
    11141114            panel.Destroy() 
    1115             del self.panels[ID] 
    1116             del self.plot_panels[ID] 
     1115            if ID in self.panels.keys(): 
     1116                del self.panels[ID] 
     1117            if ID in self.plot_panels.keys(): 
     1118                del self.plot_panels[ID] 
    11171119            if self._data_panel is not None: 
    11181120                ind = self._data_panel.cb_plotpanel.FindString(str(caption)) 
    11191121                if ind != wx.NOT_FOUND: 
    1120                     self._data_panel.cb_plotpanel.Delete(ind) 
     1122                   self._data_panel.cb_plotpanel.Delete(ind) 
    11211123            self._mgr.Update() 
    11221124       
     
    20512053        self.panel_on_focus = panel   
    20522054        self.set_panel_on_focus(None) 
     2055        print " on_set_plot_focus" 
    20532056          
    20542057    def _onDrawIdle(self, *args, **kwargs): 
Note: See TracChangeset for help on using the changeset viewer.