Changeset a321c52 in sasview for src/sas/sasgui/perspectives/fitting/basepage.py
- Timestamp:
- Dec 6, 2016 10:52:56 AM (8 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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 9eb8fae
- Parents:
- 77910cf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/basepage.py
r77910cf ra321c52 1160 1160 category_pos = int(state.categorycombobox) 1161 1161 except: 1162 if not state._is_sasmodels(): 1163 state._convert_to_sasmodels() 1162 state._convert_to_sasmodels() 1164 1163 state.categorycombobox = unicode(state.categorycombobox) 1165 1164 if state.categorycombobox in self.categorybox.Items: … … 1592 1591 item_page[0].SetValue(item_page_info[0]) 1593 1592 if item_page[2] is not None: 1594 # TODO: On loading save state, should try to coerce1595 # TODO: length and scale params to positive values1596 1593 item_page[2].SetValue(item_page_info[2]) 1597 1594 if item_page[2].__class__.__name__ == "ComboBox": … … 1609 1606 if item_page_info[4][0]: 1610 1607 item_page[4].Show(True) 1611 item_page[4].SetValue( item_page_info[4][1])1608 item_page[4].SetValue(str(item_page_info[4][1])) 1612 1609 else: 1613 1610 item_page[3].Hide() 1614 1611 if item_page[5] is not None: 1615 1612 # show of hide the text crtl for fitting error 1616 item_page[5].Show(item_page_info[5][0]) 1617 item_page[5].SetValue(item_page_info[5][1]) 1618 1613 item_page[5].Show(True) 1614 item_page[5].SetValue(str(item_page_info[5][1])) 1619 1615 if item_page[6] is not None: 1620 1616 # show of hide the text crtl for fitting error 1621 item_page[6].Show(item_page_info[6][0]) 1622 item_page[6].SetValue(item_page_info[6][1]) 1623 1617 item_page[6].Show(True) 1618 item_page[6].SetValue(str(item_page_info[6][1])) 1624 1619 break 1625 1620
Note: See TracChangeset
for help on using the changeset viewer.