summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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");
}