Changeset cce182ae in sasview
- Timestamp:
- Apr 5, 2012 3:18:50 PM (13 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:
- 0aca693
- Parents:
- 5559171
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/src/sans/perspectives/fitting/basepage.py
r93f0a862 rcce182ae 898 898 self.state.plugin_rbutton = self.plugin_rbutton.GetValue() 899 899 #model combobox 900 self.state.structurebox = self.structurebox.Get Value()#.GetSelection()901 self.state.formfactorbox = self.formfactorbox.Get Value()#.GetSelection()900 self.state.structurebox = self.structurebox.GetLabel()#.GetSelection() 901 self.state.formfactorbox = self.formfactorbox.GetLabel()#.GetSelection() 902 902 903 903 self.state.enable2D = copy.deepcopy(self.enable2D) … … 1069 1069 formfactor_pos = 0 1070 1070 for ind_form in range(self.formfactorbox.GetCount()): 1071 if self.formfactorbox.GetString(ind_form).count(state.formfactorcombobox)>0: 1071 if self.formfactorbox.GetString(ind_form) == \ 1072 state.formfactorcombobox: 1072 1073 formfactor_pos = int(ind_form) 1073 1074 break … … 1081 1082 structfactor_pos = 0 1082 1083 for ind_struct in range(self.structurebox.GetCount()): 1083 if self.structurebox.GetString(ind_struct).count(state.structurecombobox)>0: 1084 if self.structurebox.GetString(ind_struct) == \ 1085 state.structurecombobox: 1084 1086 structfactor_pos = int(ind_struct) 1085 1087 break … … 1447 1449 self.state.struct_rbutton = self.struct_rbutton.GetValue() 1448 1450 self.state.plugin_rbutton = self.plugin_rbutton.GetValue() 1449 self.state.structurebox= self.structurebox.Get Value()#.GetCurrentSelection()1450 self.state.formfactorbox = self.formfactorbox.Get Value()#.GetCurrentSelection()1451 self.state.structurebox= self.structurebox.GetLabel()#.GetCurrentSelection() 1452 self.state.formfactorbox = self.formfactorbox.GetLabel()#.GetCurrentSelection() 1451 1453 1452 1454 #self._undo.Enable(True)
Note: See TracChangeset
for help on using the changeset viewer.