Ignore:
Timestamp:
Jul 12, 2016 8:34:57 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:
e73e723
Parents:
815f7b8
Message:

Minor tweaks to UI and calculator behaviour

File:
1 edited

Legend:

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

    r8bdc103 r5878a9ea  
    194194            return 
    195195        # TODO: Find way to set xlim and ylim so full range of data can be 
    196         # plotted 
     196        # plotted but zoomed in 
    197197        maxq = self._data.x.max() 
    198198        mask = self._extrapolated_data.x <= maxq 
     
    202202        to_plot = Data1D(plot_x, plot_y) 
    203203        self._manager.show_data(to_plot, IQ_EXTRAPOLATED_DATA_LABEL) 
     204        # Update state of the GUI 
    204205        self._transform_btn.Enable() 
     206        self._extract_btn.Disable() 
     207        self.set_extracted_params(reset=True) 
    205208 
    206209    def compute_transform(self, event=None): 
Note: See TracChangeset for help on using the changeset viewer.