Changeset 1976004 in sasview for fittingview/src/sans/perspectives


Ignore:
Timestamp:
Sep 19, 2011 5:43:50 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:
1b14795
Parents:
7400883
Message:

found and fixed a problem with set focus

File:
1 edited

Legend:

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

    r4133316 r1976004  
    55from sans.guiframe.panel_base import PanelBase 
    66from wx.lib.scrolledpanel import ScrolledPanel 
     7from sans.guiframe.events import PanelOnFocusEvent 
    78#Control panel width  
    89if sys.platform.count("darwin")==0: 
     
    633634        """ 
    634635        if self.parent is not None: 
    635             wx.PostEvent(self.parent, PanelOnFocusEvent(panel=self)) 
    636         self.page_finder = self.parent.get_page_finder() 
    637          
     636            if self.parent.parent is not None: 
     637                wx.PostEvent(self.parent.parent, PanelOnFocusEvent(panel=self)) 
     638            self.page_finder = self.parent._manager.get_page_finder() 
     639         
Note: See TracChangeset for help on using the changeset viewer.