diff --git a/Code/Mantid/MantidPlot/src/MultiTabScriptInterpreter.cpp b/Code/Mantid/MantidPlot/src/MultiTabScriptInterpreter.cpp index 189582292a8473ff0f11d253eeb1f3d8217f43e8..470b1d7fe5635e95dc88332d98f66585f60bfed3 100644 --- a/Code/Mantid/MantidPlot/src/MultiTabScriptInterpreter.cpp +++ b/Code/Mantid/MantidPlot/src/MultiTabScriptInterpreter.cpp @@ -317,7 +317,7 @@ void MultiTabScriptInterpreter::toggleCodeFolding(bool state) int index_end = count() - 1; for( int index = index_end; index >= 0; --index ) { - interpreterAt(index)->toggleProgressReporting(state); + interpreterAt(index)->toggleCodeFolding(state); } }