summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Maudsley <richard.maudsley@isode.com>2014-01-17 16:50:37 (GMT)
committerRichard Maudsley <richard.maudsley@isode.com>2014-01-17 16:50:37 (GMT)
commita98bbd87b9dff60d1de2dcd1d4538055543d3b1e (patch)
tree2ab9a6b97b03f6ebe4b8fd0d6ad45c07455cd71e
parent73727723708ced895a098831de38225cb438ba52 (diff)
downloadswift-a98bbd87b9dff60d1de2dcd1d4538055543d3b1e.zip
swift-a98bbd87b9dff60d1de2dcd1d4538055543d3b1e.tar.bz2
Safe keeping.
Change-Id: I3845db9204004212711e6c6f68e23c0e7ab29f52
-rw-r--r--Swift/QtUI/QtHighlightEditor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Swift/QtUI/QtHighlightEditor.cpp b/Swift/QtUI/QtHighlightEditor.cpp
index b9d9a53..807b180 100644
--- a/Swift/QtUI/QtHighlightEditor.cpp
+++ b/Swift/QtUI/QtHighlightEditor.cpp
@@ -360,7 +360,10 @@ HighlightRule QtHighlightEditor::ruleFromDialog()
action.setTextBackground("");
} else {
action.setHighlightText(true);
+ QColor foregroundColor = ui_.foregoundColor.getColor();
action.setTextColor("#ffffffff");
+
+ QColor backgroundColor = ui_.backgroundColor.getColor();
action.setTextBackground("#ffffffff");
}