mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
Fix user chart axis color
.. when using named colors the axis was always black because the color was not being translated via the RGBColor macro.
This commit is contained in:
@@ -1119,8 +1119,8 @@ GenericPlot::configureAxis(QString name, bool visible, int align, double min, do
|
||||
}
|
||||
|
||||
// color
|
||||
if (labelcolor != "") axis->labelcolor=QColor(labelcolor);
|
||||
if (color != "") axis->axiscolor=QColor(color);
|
||||
if (labelcolor != "") axis->labelcolor=RGBColor(QColor(labelcolor));
|
||||
if (color != "") axis->axiscolor=RGBColor(QColor(color));
|
||||
|
||||
// log ..
|
||||
axis->log = log;
|
||||
|
||||
Reference in New Issue
Block a user