Changeset ae84427 in sasview for fittingview/src/sans/perspectives/fitting/fitpanel.py
- Timestamp:
- Apr 20, 2013 7:14:41 PM (12 years ago)
- 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:
- ba152f1
- Parents:
- d4895dd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/src/sans/perspectives/fitting/fitpanel.py
r3b148c3 rae84427 71 71 self.Bind(wx.aui.EVT_AUINOTEBOOK_PAGE_CHANGED, self.on_page_changing) 72 72 self.Bind(wx.aui.EVT_AUINOTEBOOK_PAGE_CLOSED, self.on_closed) 73 73 74 74 def on_closed(self, event): 75 75 """ … … 161 161 if pos != -1: 162 162 selected_page = self.GetPage(pos) 163 wx.PostEvent(self.parent, PanelOnFocusEvent(panel=selected_page)) 163 wx.PostEvent(self._manager.parent, 164 PanelOnFocusEvent(panel=selected_page)) 164 165 self.enable_close_button() 165 166 … … 170 171 if pos != -1: 171 172 selected_page = self.GetPage(pos) 172 wx.PostEvent(self.parent, PanelOnFocusEvent(panel=selected_page)) 173 wx.PostEvent(self._manager.parent, 174 PanelOnFocusEvent(panel=selected_page)) 173 175 174 176 def get_data(self):
Note: See TracChangeset
for help on using the changeset viewer.