Ignore:
Timestamp:
Oct 7, 2016 12:21:40 PM (8 years ago)
Author:
krzywon
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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
ff3f5821
Parents:
cb823f0
Message:

#189 #12 Saving and loading project now fully saves and loads a simultaneous fits. Loading a project will reset Sasview state to its base state (with a warning). One error on load to fix before calling this finished.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/fitting/fitpanel.py

    ra95ae9a r998ca90  
    200200            nop = nop - 1 
    201201 
    202         ## save the title of the last page tab added 
     202        # save the title of the last page tab added 
    203203        self.fit_page_name = {} 
    204         ## list of existing fit page 
     204        # list of existing fit page 
    205205        self.opened_pages = {} 
     206        self.fit_page_index = 0 
     207        self.batch_page_index = 0 
    206208 
    207209    def set_state(self, state): 
     
    242244        self.close_all() 
    243245        self._manager.mypanels = [] 
     246        self.sim_page = None 
     247        self.batch_page = None 
    244248 
    245249    def on_close_page(self, event=None): 
Note: See TracChangeset for help on using the changeset viewer.