Changeset be74751 in sasview for src/sas/qtgui/Perspectives
- Timestamp:
- Nov 7, 2018 8:47:25 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- ebcdb02
- Parents:
- 490e230
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingPerspective.py
r17e2d502 rbe74751 10 10 import sas.qtgui.Utilities.LocalConfig as LocalConfig 11 11 import sas.qtgui.Utilities.ObjectLibrary as ObjectLibrary 12 import sas.qtgui.Utilities.GuiUtils as GuiUtils 12 13 13 14 from sas.qtgui.Perspectives.Fitting.FittingWidget import FittingWidget … … 157 158 Returns the data ID of the current tab 158 159 """ 159 tab_id = None 160 if self.currentTab.data: 161 tab_id = self.currentTab.data.id 160 tab_id = [] 161 if not self.currentTab.data: 162 return tab_id 163 for item in self.currentTab.all_data: 164 data = GuiUtils.dataFromItem(item) 165 tab_id.append(data.id) 166 162 167 return tab_id 163 168
Note: See TracChangeset
for help on using the changeset viewer.