From f52812dc2ffd9da4061b090ea87bfec6e110330d Mon Sep 17 00:00:00 2001 From: Shahroz Ahmed <shahroz.ahmed@stfc.ac.uk> Date: Tue, 6 Oct 2015 10:08:23 +0100 Subject: [PATCH] enabled waterfall while reusing window Refs #13852 --- 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 b287de7390b..ff727f11f85 100644 --- a/Code/Mantid/MantidPlot/src/Mantid/MantidUI.cpp +++ b/Code/Mantid/MantidPlot/src/Mantid/MantidUI.cpp @@ -3129,7 +3129,7 @@ MultiLayer* MantidUI::plot1D(const QMultiMap<QString,int>& toPlot, bool spectrum if (ask.clickedButton() != confirmButton) return NULL; } // Force waterfall option to false if only 1 curve - if(toPlot.size() == 1) waterfallPlot = false; + if((NULL==plotWindow || clearWindow == true) && toPlot.size() == 1) waterfallPlot = false; QApplication::setOverrideCursor(QCursor(Qt::WaitCursor)); -- GitLab