Changeset 4043c96 in sasview
- Timestamp:
- Sep 30, 2009 9:45:41 PM (15 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:
- 09ef7d22
- Parents:
- d40a9cd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitpage.py
rd40a9cd r4043c96 275 275 ## the user didn't select dispersity display 276 276 return 277 277 278 278 self._reset_dispersity() 279 279 # Create the dispersion objects … … 559 559 self.state.model = self.model.clone() 560 560 ## save state into 561 561 self.state.cb1 = self.cb1.GetValue() 562 562 self._copy_parameters_state(self.parameters, self.state.parameters) 563 563 self._copy_parameters_state(self.orientation_params_disp, … … 642 642 self.enable_disp.SetValue(False) 643 643 self.disable_disp.SetValue(True) 644 self.set_dispers_sizer() 644 try: 645 self.set_dispers_sizer() 646 except: 647 pass 645 648 if self.model !=None: 646 649 try: … … 657 660 evt = ModelEventbox(model=self.model) 658 661 wx.PostEvent(self.event_owner, evt) 662 659 663 self.btFit.SetFocus() 660 664 self.state.enable_disp = self.enable_disp.GetValue() 661 665 self.state.disable_disp = self.disable_disp.GetValue() 662 666 663 667 self.state.structurecombobox = self.structurebox.GetCurrentSelection() 664 668 self.state.formfactorcombobox = self.formfactorbox.GetCurrentSelection() … … 1084 1088 self._copy_parameters_state(self.fixed_param, self.state.fixed_param) 1085 1089 1086 #self.save_current_state()1090 self.save_current_state() 1087 1091 if event !=None: 1088 1092 #self._undo.Enable(True) … … 1132 1136 self._copy_parameters_state(self.fixed_param, self.state.fixed_param) 1133 1137 1134 #self.save_current_state()1138 self.save_current_state() 1135 1139 if event !=None: 1136 1140 #self._undo.Enable(True)
Note: See TracChangeset
for help on using the changeset viewer.