Changes in / [ddbac66:e64a03e] in sasview
- 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 r71601312 370 370 :return: None 371 371 """ 372 if self.categorycombobox == CUSTOM_MODEL_OLD: 373 self.categorycombobox = CUSTOM_MODEL 372 374 if self.formfactorcombobox == '': 373 375 FIRST_FORM = { … … 382 384 'Sphere' : 'adsorbed_layer', 383 385 'Structure Factor' : 'hardsphere', 384 CUSTOM_MODEL_OLD : '',385 386 CUSTOM_MODEL : '' 386 387 }
Note: See TracChangeset
for help on using the changeset viewer.