[education/rkward] rkward/windows: All our completion models have groups (although setting this does not actually seem to have any effect)
Thomas Friedrichsmeier
null at kde.org
Mon Mar 21 17:14:03 GMT 2022
Git commit 362c1d4816d372cb0ec49e26ad3d871820c97080 by Thomas Friedrichsmeier.
Committed on 21/03/2022 at 17:13.
Pushed by tfry into branch 'master'.
All our completion models have groups (although setting this does not actually seem to have any effect)
M +1 -2 rkward/windows/rkcodecompletion.cpp
https://invent.kde.org/education/rkward/commit/362c1d4816d372cb0ec49e26ad3d871820c97080
diff --git a/rkward/windows/rkcodecompletion.cpp b/rkward/windows/rkcodecompletion.cpp
index 8df52e41..91c3ba90 100644
--- a/rkward/windows/rkcodecompletion.cpp
+++ b/rkward/windows/rkcodecompletion.cpp
@@ -467,6 +467,7 @@ RKCompletionModelBase::RKCompletionModelBase (RKCompletionManager *manager) : KT
RK_TRACE (COMMANDEDITOR);
n_completions = 0;
RKCompletionModelBase::manager = manager;
+ setHasGroups(true);
}
RKCompletionModelBase::~RKCompletionModelBase () {
@@ -505,8 +506,6 @@ void RKCompletionModelBase::executeCompletionItem (KTextEditor::View *view, cons
RKCodeCompletionModel::RKCodeCompletionModel (RKCompletionManager *manager) : RKCompletionModelBase (manager) {
RK_TRACE (COMMANDEDITOR);
-
- setHasGroups (true);
}
RKCodeCompletionModel::~RKCodeCompletionModel () {
More information about the rkward-tracker
mailing list