Skip to content
Snippets Groups Projects
Commit 1fbf4d9a authored by Eike Ziller's avatar Eike Ziller
Browse files

Fix tab settings for non-code files.


In the case when they are part of the project. The project's
EditorConfiguration had an wrongly initialized default editor setting.

Change-Id: If6e39ed3efca39d726c28b8278a059c8bbe7c3fc
Reviewed-by: default avatarLeandro Melo <leandro.melo@nokia.com>
parent fa0e63ca
No related branches found
No related tags found
No related merge requests found
......@@ -111,6 +111,8 @@ EditorConfiguration::EditorConfiguration() : d(new EditorConfigurationPrivate)
d->m_defaultCodeStyle->setDelegatingPool(textEditorSettings->codeStylePool());
d->m_defaultCodeStyle->setDisplayName(tr("Project", "Settings"));
d->m_defaultCodeStyle->setId(kId);
d->m_defaultCodeStyle->setCurrentDelegate(d->m_useGlobal
? TextEditorSettings::instance()->codeStyle() : 0);
}
EditorConfiguration::~EditorConfiguration()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment