Commit 28b16ef3 authored by Alexander Semke's avatar Alexander Semke
Browse files

[worksheet] fixed the loading of the default colors for the text label.

parent 866ff0c7
......@@ -1077,8 +1077,8 @@ void TextLabel::loadThemeConfig(const KConfig& config) {
Q_D(TextLabel);
KConfigGroup group = config.group("Label");
d->fontColor = group.readEntry("FontColor", QColor(Qt::white)); // used when it's latex text
d->backgroundColor = group.readEntry("BackgroundColor", QColor(Qt::black)); // used when it's latex text
d->fontColor = group.readEntry("FontColor", QColor(Qt::black)); // used when it's latex text
d->backgroundColor = group.readEntry("BackgroundColor", QColor(Qt::white)); // used when it's latex text
if (!d->textWrapper.teXUsed && !d->textWrapper.text.isEmpty()) {
// TODO: Replace QTextEdit by QTextDocument, because this does not contain the graphical stuff
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment