Skip to content

Commit

Permalink
Added check for if nonorthogonal axes should be displayed Re #18832
Browse files Browse the repository at this point in the history
  • Loading branch information
Lottie Greenwood committed Feb 13, 2017
1 parent 5b95f24 commit 0d1ce7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MantidQt/SliceViewer/src/SliceViewer.cpp
Expand Up @@ -2954,7 +2954,7 @@ void SliceViewer::switchAxis() {
if (m_canSwitchScales) { // cannot be called when sliceviewer first
// initialised because axis is inaccurate
auto isHKL = API::isHKLDimensions(m_ws, m_dimX, m_dimY);
if (isHKL) {
if (isHKL && ui.btnNonOrthogonalToggle->isChecked()) {
applyNonOrthogonalAxisScaleDraw();
} else {
applyOrthogonalAxisScaleDraw();
Expand Down

0 comments on commit 0d1ce7c

Please sign in to comment.