Ignore:
Timestamp:
Jun 21, 2017 11:17:18 AM (7 years ago)
Author:
Paul Kienzle <pkienzle@…>
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, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
81b35396
Parents:
2a0f33f
Message:

move sim fit state to sascalc pagestate

File:
1 edited

Legend:

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

    r2a0f33f r00f7ff1  
    157157        self.disp_cb_dict = {} 
    158158 
    159         # self.state = PageState(parent=parent) 
     159        # self.state = PageState() 
    160160        # dictionary containing list of models 
    161161        self.model_list_box = {} 
     
    204204        self.fitrange = True 
    205205        # Create memento to save the current state 
    206         self.state = PageState(parent=self.parent, 
    207                                model=self.model, data=self.data) 
     206        self.state = PageState(model=self.model, data=self.data) 
    208207        # flag to determine if state has change 
    209208        self.state_change = False 
Note: See TracChangeset for help on using the changeset viewer.