Changeset 8df5faa in sasview for fittingview/src
- Timestamp:
- Apr 30, 2012 5:54:12 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:
- 6246e00
- Parents:
- ef26c83
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/src/sans/perspectives/fitting/basepage.py
ref26c83 r8df5faa 1219 1219 formfactor_pos = 0 1220 1220 for ind_form in range(self.formfactorbox.GetCount()): 1221 if self.formfactorbox.GetString(ind_form) .count(state.formfactorcombobox) > 0:1221 if self.formfactorbox.GetString(ind_form) == (state.formfactorcombobox): 1222 1222 formfactor_pos = int(ind_form) 1223 1223 break … … 1231 1231 structfactor_pos = 0 1232 1232 for ind_struct in range(self.structurebox.GetCount()): 1233 if self.structurebox.GetString(ind_struct) .count(state.structurecombobox) > 0:1233 if self.structurebox.GetString(ind_struct) == (state.structurecombobox) > 0: 1234 1234 structfactor_pos = int(ind_struct) 1235 1235 break … … 2009 2009 2010 2010 # Sort the models 2011 mlist_sorted = mlist2011 mlist_sorted = sorted(mlist) 2012 2012 for item in mlist_sorted: 2013 2013 combobox.Append(item[0], item[1])
Note: See TracChangeset
for help on using the changeset viewer.