- Timestamp:
- Mar 1, 2011 4:35:39 PM (14 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:
- 342a506
- Parents:
- 856428a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitpanel.py
r6bbeacd4 r9f391af 149 149 page_is_opened = True 150 150 if not page_is_opened: 151 panel = self. add_fit_page(data=state.data)151 panel = self._manager.add_fit_page(data=state.data) 152 152 # add data associated to the page created 153 153 if panel is not None: … … 281 281 282 282 page = self.add_empty_page() 283 pos = self.GetPageIndex(page) 283 284 page.id = wx.NewId() 284 285 page.set_data(data) … … 328 329 """ 329 330 #remove hint page 330 if selected_page .id == self.hint_page.id:331 if selected_page == self.hint_page: 331 332 return 332 333 ## removing sim_page … … 368 369 369 370 if selected_page.id == id: 370 del self.opened_pages[ type]371 del self.opened_pages[selected_page.id] 371 372 break 372 373
Note: See TracChangeset
for help on using the changeset viewer.