diff --git a/sleepyhead/Graphs/gGraphView.cpp b/sleepyhead/Graphs/gGraphView.cpp index 499a6d8f..2a6ae534 100644 --- a/sleepyhead/Graphs/gGraphView.cpp +++ b/sleepyhead/Graphs/gGraphView.cpp @@ -2104,10 +2104,13 @@ void gGraphView::onSnapshotGraphToggle() // addGraph(newgraph); updateScale(); + timedRedraw(0); } else if (cmd == "remove") { m_graphsbyname.remove(graph->name()); m_graphs.removeAll(it.value()); delete graph; + updateScale(); + timedRedraw(0); } qDebug() << cmd << name; }