From 953c9ad662654ba667a48a4d924eb66925ebb702 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Wed, 27 Aug 2014 23:53:17 +1000 Subject: [PATCH] Block select on Snapshot graphs --- sleepyhead/Graphs/gGraphView.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sleepyhead/Graphs/gGraphView.cpp b/sleepyhead/Graphs/gGraphView.cpp index 2a6ae534..7dfafd6e 100644 --- a/sleepyhead/Graphs/gGraphView.cpp +++ b/sleepyhead/Graphs/gGraphView.cpp @@ -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);