Changeset 0215e0a in sasview
- Timestamp:
- Apr 27, 2017 7:47:24 AM (8 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:
- 61a92d4
- Parents:
- 180bd54
- Location:
- src/sas/qtgui
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingPerspective.py
r83eb5208 r0215e0a 6 6 7 7 import sas.qtgui.Utilities.GuiUtils as GuiUtils 8 import sas.qtgui.ObjectFactory as ObjectFactory 8 9 9 10 from FittingWidget import FittingWidget … … 74 75 """ 75 76 tab = FittingWidget(parent=self.parent, data=data, id=self.maxIndex+1) 77 # Add this tab to the object factory so it can be retrieved by scripting/jupyter 78 ObjectFactory.addObject(self.tabName(), tab) 76 79 self.tabs.append(tab) 77 80 self.maxIndex += 1 … … 93 96 if len(self.tabs) <= 1: 94 97 return 98 ObjectFactory.deleteObject(self.tabs[index].accessibleName()) 95 99 del self.tabs[index] 96 100 self.removeTab(index)
Note: See TracChangeset
for help on using the changeset viewer.