diff --git a/MantidPlot/src/Mantid/MantidUI.cpp b/MantidPlot/src/Mantid/MantidUI.cpp
index ff727f11f850177439bc7870e69f3df5248cd797..57ff719e17bc3fd07f193f9f5c3b20f7e6bfee5c 100644
--- a/MantidPlot/src/Mantid/MantidUI.cpp
+++ b/MantidPlot/src/Mantid/MantidUI.cpp
@@ -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((NULL==plotWindow || clearWindow == true) && toPlot.size() == 1) waterfallPlot = false;
+  if ((NULL == plotWindow || clearWindow == true) && toPlot.size() == 1)
+    waterfallPlot = false;
 
   QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));