Commit 70939a72 authored by Savici, Andrei T's avatar Savici, Andrei T
Browse files

Merge pull request #15727 from mantidproject/15726_vsi_initial_view

Reorder check for initial view
parents 2a3da3fb f8fef224
......@@ -838,10 +838,10 @@ MdViewerWidget::getViewForInstrument(const std::string &instrumentName) const {
if (techniques.count("Single Crystal Diffraction") > 0) {
associatedView = mdConstants.getSplatterPlotView();
} else if (techniques.count("Neutron Diffraction") > 0) {
associatedView = mdConstants.getSplatterPlotView();
} else if (checkIfTechniqueContainsKeyword(techniques, "Spectroscopy")) {
associatedView = mdConstants.getMultiSliceView();
} else if (techniques.count("Neutron Diffraction") > 0) {
associatedView = mdConstants.getSplatterPlotView();
} else {
associatedView = mdConstants.getStandardView();
}
......
......@@ -112,6 +112,8 @@ Bugs Resolved
- VSI: Fix Mantid crash when pressing :ref:`Scale <algm-Scale>` or Cut when "builtin" node
is selected in Pipeline Browser
- VSI: The TECHNIQUE-DEPENDENT initial view now checks for Spectroscopy before Neutron Diffraction.
SliceViewer Improvements
------------------------
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment