Changeset 982e953 in sasview for sansview/perspectives/fitting


Ignore:
Timestamp:
Feb 14, 2011 3:13:34 PM (14 years ago)
Author:
Gervaise Alina <gervyh@…>
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
Message:

book mark option corrected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/fitpage.py

    r90a7bbd r982e953  
    6363        self.Bind(EVT_FIT_STOP,self._on_fit_complete) 
    6464        self.Bind(EVT_CHI2_UPDATE, self.on_complete_chisqr) 
     65        self._set_bookmark_flag(False) 
     66        self._set_save_flag(False) 
    6567 
    6668    def _on_fit_complete(self, event): 
     
    858860        self.set_model_param_sizer(self.model)                    
    859861         
     862        if self.model is None: 
     863            self._set_bookmark_flag(False) 
     864            self._set_save_flag(False) 
    860865        self.enable_disp.SetValue(False) 
    861866        self.disable_disp.SetValue(True) 
     
    874879       
    875880        if self.model != None: 
     881            self._set_bookmark_flag(True) 
     882            self._set_save_flag(True) 
    876883            # Reset smearer, model and data 
    877884            self.set_data(self.data) 
     
    13701377            self.formfactorbox.Disable() 
    13711378            self.structurebox.Disable() 
     1379            self._set_bookmark_flag(False) 
     1380            self._set_save_flag(False) 
    13721381        else: 
     1382            self._set_bookmark_flag(True) 
     1383            self._set_save_flag(True) 
    13731384            self.smearer = smear_selection(self.data, self.model) 
    13741385            self.disable_smearer.SetValue(True) 
Note: See TracChangeset for help on using the changeset viewer.