Ignore:
Timestamp:
May 15, 2017 3:40:12 AM (7 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
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
Children:
00b3b40
Parents:
6011788
Message:

Added more unit tests for SASVIEW-569

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Fitting/FittingWidget.py

    r6011788 r2241130  
    8080        # Does the control support UNDO/REDO 
    8181        # temporarily off 
    82         self.support_undo = False 
     82        self.undo_supported = False 
     83        self.page_stack = [] 
    8384 
    8485        # Data for chosen model 
     
    369370 
    370371        # Update state stack 
    371         if self.support_undo: 
     372        if self.undo_supported: 
    372373            state = self.currentState() 
    373374            self.pushFitPage(state) 
     
    877878        if model_column == 1: 
    878879            self.recalculatePlotData() 
     880 
     881        # Update state stack 
     882        if self.undo_supported: 
     883            state = self.currentState() 
     884            self.pushFitPage(state) 
    879885 
    880886    def checkboxSelected(self, item): 
Note: See TracChangeset for help on using the changeset viewer.