Ignore:
Timestamp:
Feb 5, 2018 5:33:02 AM (6 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:
725d9c06
Parents:
14ec91c5
Message:

Minor corrections to GUI and unit tests

File:
1 edited

Legend:

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

    r14ec91c5 ra90c9c5  
    9494 
    9595        # External signals 
    96         self.parent.tabsModifiedSignal.connect(self.onModifiedTabs) 
     96        self.parent.tabsModifiedSignal.connect(self.initializeFitList) 
    9797 
    9898    def updateSignalsFromTab(self, tab=None): 
     
    283283        self.current_cell = self.tblTabList.item(row, column).data(0) 
    284284 
    285     def onModifiedTabs(self): 
    286         """ 
    287         Respond to tabs being deleted by deleting involved constraints 
    288  
    289         This should probably be done in FittingWidget as it is the owner of 
    290         all the fitting data, but I want to keep the FW oblivious about 
    291         dependence on other FW tabs, so enforcing the constraint deletion here. 
    292         """ 
    293         # Get the list of all constraints from querying the table 
    294         #constraints = getConstraintsForModel() 
    295  
    296         # Get the current list of tabs 
    297         #tabs = ObjectLibrary.listObjects() 
    298  
    299         # Check if any of the constraint dependencies got deleted 
    300         # Check the list of constraints 
    301         self.initializeFitList() 
    302         pass 
    303  
    304285    def onFitComplete(self, result): 
    305286        """ 
     
    677658        # Update the tab 
    678659        constrained_tab.addConstraintToRow(constraint, constrained_row) 
    679         pass 
Note: See TracChangeset for help on using the changeset viewer.