Commit cf6bf872 authored by dt's avatar dt
Browse files

Fix CMake highlighting with dark theme

parent 2cb95148
......@@ -102,6 +102,7 @@ TextEditor::BaseTextEditorEditable *CMakeEditor::createEditableInterface()
void CMakeEditor::setFontSettings(const TextEditor::FontSettings &fs)
{
TextEditor::BaseTextEditor::setFontSettings(fs);
CMakeHighlighter *highlighter = qobject_cast<CMakeHighlighter*>(baseTextDocument()->syntaxHighlighter());
if (!highlighter)
return;
......
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