diff options
Diffstat (limited to 'src/cpp/lineGraph.cpp')
-rw-r--r-- | src/cpp/lineGraph.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cpp/lineGraph.cpp b/src/cpp/lineGraph.cpp index be6fd86..7e013be 100644 --- a/src/cpp/lineGraph.cpp +++ b/src/cpp/lineGraph.cpp @@ -47,7 +47,8 @@ LineGraph::LineGraph() void LineGraph::paint(QPainter *painter) { - if (!m_fileLoadStatus) { + if (m_filedata.count() < 2) { + qDebug() << "not rendering, not enough data"; return; } int j = m_filedata.count(); |