Skip to content
Snippets Groups Projects
Commit 0cf9725c authored by Matt King's avatar Matt King
Browse files

Merge pull request #13864 from mantidproject/13852_waterfall_option_not_working_when_reusing_window

parents 97e0603f 962b6ec8
No related merge requests found
......@@ -3129,7 +3129,8 @@ 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));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment