From 2e788d79bda70addea8438f3c8ee701390ed7f31 Mon Sep 17 00:00:00 2001 From: mgr Date: Sun, 30 Sep 2018 21:13:52 +0200 Subject: [PATCH] Completion doesn't work until DB Structure is refreshed #1549 Apparently setLexer is needed for actually activating the QScintilla completion after application start-up. --- src/ExtendedScintilla.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ExtendedScintilla.cpp b/src/ExtendedScintilla.cpp index ff0ad214..c615008c 100644 --- a/src/ExtendedScintilla.cpp +++ b/src/ExtendedScintilla.cpp @@ -129,6 +129,7 @@ void ExtendedScintilla::reloadKeywords() void ExtendedScintilla::reloadSettings() { reloadLexerSettings(lexer()); + reloadKeywords(); } void ExtendedScintilla::reloadLexerSettings(QsciLexer *lexer) {