Changeset aad74b3 in sasview for sansview/perspectives/fitting


Ignore:
Timestamp:
Apr 8, 2011 4:51:12 PM (14 years ago)
Author:
Jae Cho <jhjcho@…>
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:
9f5b505
Parents:
ef73618
Message:

working on report

Location:
sansview/perspectives/fitting
Files:
2 edited

Legend:

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

    r1b1bbf9 raad74b3  
    491491            self.reset_page(previous_state)    
    492492                
    493     def on_report_state(self, event): 
     493    def on_preview(self, event): 
    494494        """ 
    495495        Report the current fit results 
    496496        """    
    497         event.Skip() 
    498497        # Get plot image from plotpanel 
    499498        images, canvases = self.get_images() 
     
    24592458                 # and data_names (model plot[2D], and residuals) 
    24602459                 if item2.group_id == data_title or \ 
    2461                                 item2.window_name.count(data_name): 
     2460                                item2.window_name.count(data_name) or\ 
     2461                                item2.window_caption.count(data_name): 
    24622462                     #panel = gui_manager._mgr.GetPane(item2.window_name) 
    24632463                     # append to the list 
  • sansview/perspectives/fitting/fitpage.py

    rba64348 raad74b3  
    5454        self._set_bookmark_flag(False) 
    5555        self._set_save_flag(False) 
     56        self._set_preview_flag(False) 
    5657     
    5758   
     
    15531554            self._set_bookmark_flag(True) 
    15541555            self._set_save_flag(True) 
     1556            self._set_preview_flag(True) 
    15551557            self._set_smear(data) 
    15561558            # more disables for 2D 
Note: See TracChangeset for help on using the changeset viewer.