Changeset 8ae522c in sasview for sansguiframe/src/sans/guiframe/data_panel.py
- Timestamp:
- Jan 25, 2012 5:43:43 PM (13 years ago)
- Branches:
- master, 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, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 0e62f0f
- Parents:
- b5b2e5b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/data_panel.py
r0b705915 r8ae522c 385 385 Get data selection from the right click 386 386 """ 387 data = None 387 388 selection = event.GetSelection() 388 389 id, _, _ = self.FindFocus().GetSelection().GetData() … … 391 392 if data_list: 392 393 data = data_list.values()[0] 393 else:394 if data == None: 394 395 data = theory_list.values()[0][0] 395 396 return data
Note: See TracChangeset
for help on using the changeset viewer.