Changeset a706353b in sasview for theoryview/perspectives/theory
- Timestamp:
- Sep 16, 2010 5:48:35 PM (14 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, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- cf6a192
- Parents:
- 4523b68
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
theoryview/perspectives/theory/basepage.py
r4523b68 ra706353b 701 701 self.formfactorbox.SetSelection(state.formfactorcombobox) 702 702 if state.multi_factor != None: 703 self.multifactorbox.SetSelection(state.multi_factor -1)703 self.multifactorbox.SetSelection(state.multi_factor) 704 704 #draw the pnael according to the new model parameter 705 705 self._on_select_model(event=None) … … 1260 1260 Set comboBox for muitfactor of CoreMultiShellModel 1261 1261 """ 1262 for idx in range( 1,5):1262 for idx in range(0,5): 1263 1263 self.multifactorbox.Append(str(idx),int(idx)) 1264 self.multifactorbox.SetSelection( 0)1264 self.multifactorbox.SetSelection(1) 1265 1265 self._hide_multfactor_combobox() 1266 1266 … … 1471 1471 m_id = self.multifactorbox.GetCurrentSelection() 1472 1472 self.multi_factor = self.multifactorbox.GetClientData(m_id) 1473 if self.multi_factor == None: self.multi_factor = 01473 if self.multi_factor == None: self.multi_factor =1 1474 1474 form_factor = form_factor(int(self.multi_factor)) 1475 1475 else:
Note: See TracChangeset
for help on using the changeset viewer.