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:
parent
1055c4fd98
commit
0f2deca4fa
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user