mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-09 20:50:43 +00:00
Block select on Snapshot graphs
This commit is contained in:
parent
56e54cc6fa
commit
953c9ad662
@ -2096,6 +2096,7 @@ void gGraphView::onSnapshotGraphToggle()
|
||||
QPixmap pm = graph->renderPixmap(width(), graph->m_rect.height(), false);
|
||||
gGraph * newgraph = new gGraph(newname, nullptr, graph->title(), graph->units(), graph->height(), graph->group());
|
||||
newgraph->setSnapshot(pm);
|
||||
newgraph->setBlockSelect(true);
|
||||
newgraph->setHeight(pm.height());
|
||||
|
||||
m_graphs.insert(m_graphs.indexOf(graph)+1, newgraph);
|
||||
|
Loading…
Reference in New Issue
Block a user