From f6fe01c5bc5857034cc1e6968cae58eb13656cd7 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Thu, 28 Aug 2014 00:32:08 +1000 Subject: [PATCH] Set minimum height for 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 f17f322b..d932d46e 100644 --- a/sleepyhead/Graphs/gGraphView.cpp +++ b/sleepyhead/Graphs/gGraphView.cpp @@ -2101,6 +2101,7 @@ void gGraphView::onSnapshotGraphToggle() newgraph->setSnapshot(pm); newgraph->setBlockSelect(true); newgraph->setHeight(pm.height()); + newgraph->setMinHeight(pm.height()); m_graphs.insert(m_graphs.indexOf(graph)+1, newgraph); m_graphsbyname[newname] = newgraph;