Changeset d0d2ab5 in sasview
- Timestamp:
- Mar 25, 2009 3:49:28 PM (16 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:
- 2549c1b
- Parents:
- ac11e40
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/simfitpage.py
rac11e40 rd0d2ab5 135 135 ## display constraint fields 136 136 if self.show_constraint.GetValue(): 137 self. sizer_couples.Clear(True)137 self._hide_constraint() 138 138 self._show_constraint() 139 139 return … … 163 163 self.cb1.SetValue(False) 164 164 ## display constraint fields 165 if len(self.model_toFit)>=2 :165 if len(self.model_toFit)>=2 and len(self.model_list)==len(self.model_toFit): 166 166 self._store_model() 167 167 if self.show_constraint.GetValue(): 168 self._hide_constraint() 168 169 self._show_constraint() 169 170 … … 176 177 ## display constraint fields 177 178 if self.show_constraint.GetValue(): 178 self. sizer_couples.Clear(True)179 self._hide_constraint() 179 180 self._show_constraint() 180 181 return 181 182 else: 182 183 self.cb1.SetValue(False) 184 if len(self.model_toFit)>=2: 185 self._store_model() 186 if self.show_constraint.GetValue(): 187 self._show_constraint() 188 return 183 189 ##constraint info 184 190 self._hide_constraint()
Note: See TracChangeset
for help on using the changeset viewer.