Ignore:
Timestamp:
Dec 1, 2016 2:08:50 PM (8 years ago)
Author:
krzywon
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:
c9677c9
Parents:
7602675
Message:

Plugin models are loaded properly (if they can be found) and fixed a bug in parameter setting routine.

File:
1 edited

Legend:

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

    r7602675 r0b1d7d3  
    11771177            formfactor_pos = int(state.formfactorcombobox) 
    11781178        except: 
     1179            if self.categorybox.GetValue() == 'Customized Models' \ 
     1180                    and '[plug-in]' not in state.formfactorcombobox: 
     1181                state.formfactorcombobox = \ 
     1182                    '[plug-in] ' + state.formfactorcombobox 
    11791183            formfactor_pos = 0 
    11801184            for ind_form in range(self.formfactorbox.GetCount()): 
     
    15811585                if param[1] == listtorestore[j][1]: 
    15821586                    item_page = listtorestore[j] 
    1583                     item_page_info = statelist[j] 
     1587                    item_page_info = param 
    15841588                    if (item_page_info[1] == "theta" or item_page_info[1] == 
    15851589                            "phi") and not self._is_2D(): 
Note: See TracChangeset for help on using the changeset viewer.