From 0f2deca4fa5eb4f753d0e26331be65ac3e77cb01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Wed, 7 Dec 2016 00:03:36 +0100 Subject: [PATCH] Fixed broken graph width setting --- src/graphview.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/graphview.cpp b/src/graphview.cpp index e48ea4e8..7f907f2e 100644 --- a/src/graphview.cpp +++ b/src/graphview.cpp @@ -446,6 +446,8 @@ void GraphView::setPalette(const Palette &palette) void GraphView::setGraphWidth(int width) { + _width = width; + for (int i = 0; i < _graphs.count(); i++) _graphs.at(i)->setWidth(width); }