Ignore:
Timestamp:
Jul 11, 2016 6:17:35 AM (8 years ago)
Author:
lewis
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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
a2db1ab
Parents:
37e7223
Message:

Plot qrange on data load and qrange no longer disappears when background clicked

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/corfunc/corfunc.py

    r37e7223 r02a8779  
    116116                        info='error')) 
    117117 
    118     def show_data(self, data, label, reset=False): 
     118    def show_data(self, data, label, reset=False, active_ctrl=None): 
    119119        """ 
    120120        Show data read from a file 
     
    149149        if label == IQ_EXTRAPOLATED_DATA_LABEL or label == TRANSFORM_LABEL: 
    150150            self.parent.update_theory(data_id=label, theory=new_plot) 
     151        if label == IQ_DATA_LABEL or label == IQ_EXTRAPOLATED_DATA_LABEL: 
     152            wx.CallAfter(self.corfunc_panel.plot_qrange, active=active_ctrl, 
     153                leftdown=True) 
    151154 
    152155    def clear_data(self): 
Note: See TracChangeset for help on using the changeset viewer.