mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 18:50:44 +00:00
Snapshot graphs needs a redraw scheduled after creation/destruction
This commit is contained in:
parent
a0a8679c48
commit
56e54cc6fa
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user