- Timestamp:
- Sep 14, 2017 10:13:13 AM (7 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, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 79e6a33
- Parents:
- 33dc18f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/fitting.py
r33dc18f r252d959 358 358 page.formfactorbox.SetLabel(current_val) 359 359 if hasattr(page, 'structurebox'): 360 selected_name = page.structurebox.GetStringSelection() 361 360 362 page.structurebox.Clear() 361 363 page._populate_box(page.structurebox, 362 364 page.model_list_box["Structure Factors"]) 365 page.structurebox.Insert("None", 0, None) 366 367 index = page.structurebox.FindString(selected_name) 368 if index == -1: 369 index = 0 370 page.structurebox.SetSelection(index) 371 page._on_select_model() 363 372 except: 364 373 logger.error("update_custom_combo: %s", sys.exc_value)
Note: See TracChangeset
for help on using the changeset viewer.