diff --git a/MantidPlot/src/Mantid/MantidDock.cpp b/MantidPlot/src/Mantid/MantidDock.cpp
index 640d2ca302f406c01e8c8b9e745145939dc3803c..1ee005d0854ea7778a288b6fd68f0b94067e7525 100644
--- a/MantidPlot/src/Mantid/MantidDock.cpp
+++ b/MantidPlot/src/Mantid/MantidDock.cpp
@@ -1353,16 +1353,12 @@ void MantidDockWidget::doPlotSpectra(bool errors) {
   if (userInput.plots.empty())
     return;
 
-  constexpr bool spectrumPlot(true);
-  MultiLayer *window(NULL);
-
   if (userInput.tiled) {
     m_mantidUI->plotSubplots(userInput.plots, MantidQt::DistributionDefault,
                              errors);
   } else {
-    m_mantidUI->plot1D(userInput.plots, spectrumPlot,
-                       MantidQt::DistributionDefault, errors, window, false,
-                       userInput.waterfall);
+    m_mantidUI->plot1D(userInput.plots, true, MantidQt::DistributionDefault,
+                       errors, nullptr, false, userInput.waterfall);
   }
 }