Changeset 09ef7d22 in sasview for sansview/perspectives/fitting


Ignore:
Timestamp:
Oct 1, 2009 10:00:22 AM (15 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:
3595bb7f
Parents:
4043c96
Message:

disable recovering a closed tab from the menu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/fitpanel.py

    rf20767b r09ef7d22  
    192192        ## removing model page 
    193193        if selected_page == self.model_page: 
    194             fitproblem = selected_page.model.clone() 
     194            #fitproblem = selected_page.model.clone() 
    195195            self.model_page = None 
    196196            self.count =0 
    197197            ## page on menu 
    198             self.manager._add_page_onmenu(page_name, fitproblem) 
     198            #self.manager._add_page_onmenu(page_name, fitproblem) 
    199199        else: 
    200200            if selected_page in page_finder: 
    201201        
    202                 fitproblem= page_finder[selected_page].clone() 
     202                #fitproblem= page_finder[selected_page].clone() 
    203203                if self.GetPageIndex(selected_page)==self.fit_page1D_number: 
    204204                    self.fit_page1D_number=None 
     
    206206                    self.fit_page2D_number=None 
    207207                ## page on menu 
    208                 self.manager._add_page_onmenu(page_name, fitproblem) 
     208                #self.manager._add_page_onmenu(page_name, fitproblem) 
    209209                del page_finder[selected_page] 
    210210            ##remove the check box link to the model name of this page (selected_page) 
Note: See TracChangeset for help on using the changeset viewer.