Commit 3b3df8f6 authored by Lasse Holmstedt's avatar Lasse Holmstedt
Browse files

fixed qml inspector due to QMLJSEditor API change

parent 7f733b15
......@@ -137,7 +137,7 @@ void ExpressionQueryWidget::setFontSettings()
}
const QVector<QTextCharFormat> formats = fs.toTextCharFormats(categories);
m_highlighter->setFormats(formats.constBegin(), formats.constEnd());
m_highlighter->setFormats(formats);
m_highlighter->rehighlight();
m_textEdit->setFont(fs.font());
if (m_mode == SeparateEntryMode)
......
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