Changeset 376a939 in sasview
- Timestamp:
- Nov 28, 2018 8:41:37 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:
- 8aa3c4d, 5d75a181
- Parents:
- ce67f35
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/MainWindow/DataExplorer.py
rba8046c r376a939 387 387 for i in range(model.rowCount()): 388 388 properties = {} 389 item = model.item(i) 390 data = GuiUtils.dataFromItem(item) 389 data = GuiUtils.dataFromItem(model.item(i)) 391 390 if data is None: continue 392 391 if data.id != id: continue 393 392 # We found the item - return it 393 item = model.item(i) 394 394 break 395 395 return item … … 548 548 new_data = self.manager.create_gui_data(value[0], new_data.filename) 549 549 assert isinstance(new_data, (Data1D, Data2D)) 550 # make sure the ID is retained 551 new_data.id = value[0].id 552 new_data.group_id = value[0].group_id 550 553 properties = value[1] 551 554 is_checked = properties['checked']
Note: See TracChangeset
for help on using the changeset viewer.