Commit 3e2f9f59 authored by Leandro Melo's avatar Leandro Melo Committed by Leandro T. C. Melo
Browse files

Fix crash when changing font settings

The snippets page should not operate on the font settings
changed signal when the ui does not exist.

Task-number: QTCREATORBUG-5173
Change-Id: Ic1363cb41340b5ea04803eb27de3dd0af6ecda0c

Reviewed-by: default avatarEike Ziller <>
parent edf0424b
......@@ -413,6 +413,8 @@ void SnippetsSettingsPagePrivate::finish()
m_snippetsCollectionChanged = false;
disconnect(TextEditorSettings::instance(), 0, this, 0);
void SnippetsSettingsPagePrivate::loadSettings()
Supports Markdown
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