From c6aeb2cde1f992f2e0044f5c10f0652818af8da3 Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 15 Feb 2024 09:25:18 +0100 Subject: [PATCH] TextEditor: Fix initial loading of settings Amends e784b1e58b8a. Done-with: Orgad Shaneh Change-Id: I727983a96ac9aae204974adfabfa7a794bf99907 Reviewed-by: Orgad Shaneh Reviewed-by: --- src/plugins/texteditor/texteditorplugin.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plugins/texteditor/texteditorplugin.cpp b/src/plugins/texteditor/texteditorplugin.cpp index 6bb36d1c23c..04f11bcbb0b 100644 --- a/src/plugins/texteditor/texteditorplugin.cpp +++ b/src/plugins/texteditor/texteditorplugin.cpp @@ -95,11 +95,13 @@ void TextEditorPlugin::initialize() addTestCreator(createSnippetParserTest); #endif - setupTextEditorSettings(); setupBehaviorSettings(); setupExtraEncodingSettings(); setupStorageSettings(); setupTypingSettings(); + // Currently needed after the previous four lines. + // FIXME: This kind of dependency should not exist. + setupTextEditorSettings(); setupTextMarkRegistry(this); setupOutlineFactory();