Changeset a944beb in sasview
- Timestamp:
- Dec 5, 2018 7:46:45 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_sync_sascalc
- Children:
- bf7f025
- Parents:
- 3801429
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/MainWindow/DataExplorer.py
r99f8760 ra944beb 943 943 944 944 # Make sure main data for 2D is always displayed 945 if main_data is not None and not self.isPlotShown(main_data):945 if main_data is not None: 946 946 if isinstance(main_data, Data2D): 947 self.plotData([(plot_item, main_data)]) 947 if self.isPlotShown(main_data): 948 self.active_plots[main_data.name].showNormal() 949 else: 950 self.plotData([(plot_item, main_data)]) 948 951 949 952 # Check if this is merely a plot update … … 964 967 new_plots.append((plot_item, main_data)) 965 968 new_plots.append((plot_item, plot_to_show)) 966 967 969 if new_plots: 968 970 self.plotData(new_plots)
Note: See TracChangeset
for help on using the changeset viewer.