1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00

Fixed broken graph width setting

This commit is contained in:
Martin Tůma 2016-12-07 00:03:36 +01:00
parent 1055c4fd98
commit 0f2deca4fa

View File

@ -446,6 +446,8 @@ void GraphView::setPalette(const Palette &palette)
void GraphView::setGraphWidth(int width) void GraphView::setGraphWidth(int width)
{ {
_width = width;
for (int i = 0; i < _graphs.count(); i++) for (int i = 0; i < _graphs.count(); i++)
_graphs.at(i)->setWidth(width); _graphs.at(i)->setWidth(width);
} }