- Timestamp:
- Feb 27, 2017 10:10:28 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:
- 71601312
- Parents:
- 4387385
- Location:
- src/sas/sasgui/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/basepage.py
r4387385 r7a5aedd 54 54 55 55 CUSTOM_MODEL = 'Plugin Models' 56 CUSTOM_MODEL_OLD = 'Customized Models'57 56 58 57 class BasicPage(ScrolledPanel, PanelBase): … … 1159 1158 # select the current model 1160 1159 state._convert_to_sasmodels() 1161 if state.categorycombobox == CUSTOM_MODEL_OLD:1162 state.categorycombobox = CUSTOM_MODEL1163 1160 state.categorycombobox = unicode(state.categorycombobox) 1164 1161 if state.categorycombobox in self.categorybox.Items: -
src/sas/sasgui/perspectives/fitting/pagestate.py
r4387385 r7a5aedd 382 382 'Sphere' : 'adsorbed_layer', 383 383 'Structure Factor' : 'hardsphere', 384 CUSTOM_MODEL_OLD : '',385 384 CUSTOM_MODEL : '' 386 385 } 386 if self.categorycombobox == CUSTOM_MODEL_OLD: 387 self.categorycombobox = CUSTOM_MODEL 387 388 if self.categorycombobox == '': 388 389 if len(self.parameters) == 3:
Note: See TracChangeset
for help on using the changeset viewer.