Commit 170a6e34 authored by Tom Hampson's avatar Tom Hampson
Browse files

Clear curve labels when plot is cleared.

parent 69fa63c9
......@@ -265,8 +265,9 @@ void MiniPlotMpl::setYLinearScale() {
void MiniPlotMpl::clearAll() {
// active curve, labels etc
clearCurve();
// any stored curves
// any stored curves and labels
m_lines.clear();
m_storedCurveLabels.clear();
replot();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment