Changeset 982e953 in sasview for sansview/perspectives/fitting
- Timestamp:
- Feb 14, 2011 3:13:34 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:
- 4e4d3bb
- Parents:
- 20b228a0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitpage.py
r90a7bbd r982e953 63 63 self.Bind(EVT_FIT_STOP,self._on_fit_complete) 64 64 self.Bind(EVT_CHI2_UPDATE, self.on_complete_chisqr) 65 self._set_bookmark_flag(False) 66 self._set_save_flag(False) 65 67 66 68 def _on_fit_complete(self, event): … … 858 860 self.set_model_param_sizer(self.model) 859 861 862 if self.model is None: 863 self._set_bookmark_flag(False) 864 self._set_save_flag(False) 860 865 self.enable_disp.SetValue(False) 861 866 self.disable_disp.SetValue(True) … … 874 879 875 880 if self.model != None: 881 self._set_bookmark_flag(True) 882 self._set_save_flag(True) 876 883 # Reset smearer, model and data 877 884 self.set_data(self.data) … … 1370 1377 self.formfactorbox.Disable() 1371 1378 self.structurebox.Disable() 1379 self._set_bookmark_flag(False) 1380 self._set_save_flag(False) 1372 1381 else: 1382 self._set_bookmark_flag(True) 1383 self._set_save_flag(True) 1373 1384 self.smearer = smear_selection(self.data, self.model) 1374 1385 self.disable_smearer.SetValue(True)
Note: See TracChangeset
for help on using the changeset viewer.