From 5fa1580dab6eeeeca088b9a22a841e1ce5363cfe Mon Sep 17 00:00:00 2001 From: Martyn Gigg Date: Thu, 27 Nov 2014 15:13:19 +0000 Subject: [PATCH] Use global configuration option for distribution plotting. Refs #10639 --- Code/Mantid/MantidPlot/src/Mantid/MantidUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code/Mantid/MantidPlot/src/Mantid/MantidUI.cpp b/Code/Mantid/MantidPlot/src/Mantid/MantidUI.cpp index 25e7de71a4ca..b44cbe85f286 100644 --- a/Code/Mantid/MantidPlot/src/Mantid/MantidUI.cpp +++ b/Code/Mantid/MantidPlot/src/Mantid/MantidUI.cpp @@ -3127,7 +3127,7 @@ MultiLayer* MantidUI::plot1D(const QMultiMap& toPlot, bool spectrum bool plotAsDistribution(false); if(distr == MantidQt::DistributionDefault) { - plotAsDistribution = false; + plotAsDistribution = appWindow()->autoDistribution1D; } else {