Skip to content

Commit

Permalink
Load the legend font color from kst file.
Browse files Browse the repository at this point in the history
BUG: 348722
  • Loading branch information
netterfield committed Feb 25, 2016
1 parent e3df729 commit 0d1eb25
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/libkstapp/legenditem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,10 @@ bool LegendItem::configureFromXml(QXmlStreamReader &xml, ObjectStore *store) {
if (!av.isNull()) {
setFontScale(QVariant(av.toString()).toDouble());
}
av = attrs.value("color");
if (!av.isNull()) {
setLegendColor(QColor(av.toString()));
}
av = attrs.value("verticaldisplay");
if (!av.isNull()) {
setVerticalDisplay(QVariant(av.toString()).toBool());
Expand Down

0 comments on commit 0d1eb25

Please sign in to comment.