Changes in / [ddbac66:e64a03e] in sasview


Ignore:
Location:
src/sas/sasgui/perspectives/fitting
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/fitting/basepage.py

    r4387385 r7a5aedd  
    5454 
    5555CUSTOM_MODEL = 'Plugin Models' 
    56 CUSTOM_MODEL_OLD = 'Customized Models' 
    5756 
    5857class BasicPage(ScrolledPanel, PanelBase): 
     
    11591158        # select the current model 
    11601159        state._convert_to_sasmodels() 
    1161         if state.categorycombobox == CUSTOM_MODEL_OLD: 
    1162             state.categorycombobox = CUSTOM_MODEL 
    11631160        state.categorycombobox = unicode(state.categorycombobox) 
    11641161        if state.categorycombobox in self.categorybox.Items: 
  • src/sas/sasgui/perspectives/fitting/pagestate.py

    r4387385 r71601312  
    370370        :return: None 
    371371        """ 
     372        if self.categorycombobox == CUSTOM_MODEL_OLD: 
     373            self.categorycombobox = CUSTOM_MODEL 
    372374        if self.formfactorcombobox == '': 
    373375            FIRST_FORM = { 
     
    382384                'Sphere' : 'adsorbed_layer', 
    383385                'Structure Factor' : 'hardsphere', 
    384                 CUSTOM_MODEL_OLD : '', 
    385386                CUSTOM_MODEL : '' 
    386387            } 
Note: See TracChangeset for help on using the changeset viewer.