From 8d08bb5a6bad6c2b16c60868007b3412f605d0b5 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Thu, 28 Aug 2014 00:22:57 +1000 Subject: [PATCH] Messed up that last commit --- sleepyhead/Graphs/gGraphView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sleepyhead/Graphs/gGraphView.cpp b/sleepyhead/Graphs/gGraphView.cpp index b3dd778f..f17f322b 100644 --- a/sleepyhead/Graphs/gGraphView.cpp +++ b/sleepyhead/Graphs/gGraphView.cpp @@ -2096,7 +2096,7 @@ void gGraphView::onSnapshotGraphToggle() bool pinned = graph->isPinned(); graph->setPinned(false); QPixmap pm = graph->renderPixmap(width(), graph->m_rect.height(), false); - graph->setPinned(true); + graph->setPinned(pinned); gGraph * newgraph = new gGraph(newname, nullptr, graph->title(), graph->units(), graph->height(), graph->group()); newgraph->setSnapshot(pm); newgraph->setBlockSelect(true);