Changeset cf6a192 in sasview for sansview/perspectives/fitting


Ignore:
Timestamp:
Sep 16, 2010 5:54:04 PM (14 years ago)
Author:
Jae Cho <jhjcho@…>
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, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
e096270
Parents:
a706353b
Message:

changed options for coremultishellmodel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/basepage.py

    r4523b68 rcf6a192  
    930930        self.structurebox.SetSelection(state.structurecombobox ) 
    931931        if state.multi_factor != None: 
    932             self.multifactorbox.SetSelection(state.multi_factor-1) 
     932            self.multifactorbox.SetSelection(state.multi_factor) 
    933933 
    934934        #reset the fitting engine type 
     
    16681668        Set comboBox for muitfactor of CoreMultiShellModel 
    16691669        """ 
    1670         for idx in range(1,5): 
     1670        for idx in range(0,5): 
    16711671            self.multifactorbox.Append(str(idx),int(idx)) 
    1672             self.multifactorbox.SetSelection(0)  
     1672            self.multifactorbox.SetSelection(1)  
    16731673        self._hide_multfactor_combobox() 
    16741674         
Note: See TracChangeset for help on using the changeset viewer.