Changeset da19985 in sasview for src/sas/sasgui/perspectives/corfunc
- Timestamp:
- Jul 14, 2016 4:01:55 AM (8 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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 750a823
- Parents:
- 9f8209b
- Location:
- src/sas/sasgui/perspectives/corfunc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/corfunc/corfunc.py
r02a8779 rda19985 116 116 info='error')) 117 117 118 def delete_data(self, data): 119 """ 120 Delete the data from the perspective 121 """ 122 self.clear_data() 123 self.corfunc_panel.set_data(None) 124 118 125 def show_data(self, data, label, reset=False, active_ctrl=None): 119 126 """ … … 147 154 NewPlotEvent(plot=new_plot, title=new_plot.title, 148 155 reset=reset)) 149 if label == IQ_EXTRAPOLATED_DATA_LABEL or label == TRANSFORM_LABEL:150 self.parent.update_theory(data_id=label, theory=new_plot)151 156 if label == IQ_DATA_LABEL or label == IQ_EXTRAPOLATED_DATA_LABEL: 152 157 wx.CallAfter(self.corfunc_panel.plot_qrange, active=active_ctrl, -
src/sas/sasgui/perspectives/corfunc/corfunc_panel.py
r711e157 rda19985 147 147 """ 148 148 if data is None: 149 self._disable_inputs() 150 self.set_extracted_params(reset=True) 151 self._data = None 149 152 return 150 153 self._enable_inputs()
Note: See TracChangeset
for help on using the changeset viewer.