Commit c9f4e68f authored by Robert Loehning's avatar Robert Loehning Committed by Christian Kamm
Browse files

EditorConfiguration: Add missing check.

Change-Id: Ib8d9542e7d0cf413fb5f8e2b0597b7a772951078
Reviewed-by: default avatarChristian Kamm <>
parent 16cf161d
......@@ -239,6 +239,7 @@ void EditorConfiguration::fromMap(const QVariantMap &map)
void EditorConfiguration::configureEditor(ITextEditor *textEditor) const
BaseTextEditorWidget *baseTextEditor = qobject_cast<BaseTextEditorWidget *>(textEditor->widget());
if (baseTextEditor)
if (!d->m_useGlobal) {
textEditor->setTextCodec(d->m_textCodec, ITextEditor::TextCodecFromProjectSetting);
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