Changeset be8f4b0 in sasview for src/sas/qtgui/Perspectives/Fitting/FittingPerspective.py
- Timestamp:
- Jan 16, 2018 4:50:31 AM (7 years ago)
- 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:
- 47d7d2d
- Parents:
- 676f137
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingPerspective.py
r676f137 rbe8f4b0 18 18 """ 19 19 """ 20 tabsModifiedSignal = QtCore.pyqtSignal() 20 21 name = "Fitting" # For displaying in the combo box in DataExplorer 21 22 def __init__(self, parent=None, data=None): … … 117 118 self.maxIndex += 1 118 119 self.addTab(tab, tab_name) 120 self.tabsModifiedSignal.emit() 119 121 120 122 def addConstraintTab(self): … … 122 124 Add a new C&S fitting tab 123 125 """ 124 tab = ConstraintWidget(parent=self .parent)126 tab = ConstraintWidget(parent=self) 125 127 # Add this tab to the object library so it can be retrieved by scripting/jupyter 126 128 tab_name = self.getCSTabName() # TODO update the tab name scheme … … 182 184 self.removeTab(index) 183 185 del self.tabs[index] 186 self.tabsModifiedSignal.emit() 184 187 except IndexError: 185 188 # The tab might have already been deleted previously
Note: See TracChangeset
for help on using the changeset viewer.