[education/rkward] rkward/settings: Fix tabkey invokes completion setting

Thomas Friedrichsmeier null at kde.org
Sun Jul 17 21:40:59 BST 2022


Git commit 7f05d5e7cc81327a10d3ea497991bf3460a9b96a by Thomas Friedrichsmeier.
Committed on 17/07/2022 at 20:40.
Pushed by tfry into branch 'master'.

Fix tabkey invokes completion setting

M  +1    -1    rkward/settings/rksettingsmodulecommandeditor.cpp

https://invent.kde.org/education/rkward/commit/7f05d5e7cc81327a10d3ea497991bf3460a9b96a

diff --git a/rkward/settings/rksettingsmodulecommandeditor.cpp b/rkward/settings/rksettingsmodulecommandeditor.cpp
index 3562a9ab..86a8158f 100644
--- a/rkward/settings/rksettingsmodulecommandeditor.cpp
+++ b/rkward/settings/rksettingsmodulecommandeditor.cpp
@@ -92,7 +92,7 @@ RKCodeCompletionSettingsWidget::RKCodeCompletionSettingsWidget(QWidget *parent,
 		), this, RObject::IncludeEnvirIfNotGlobalEnv | RObject::IncludeEnvirForGlobalEnv | RObject::IncludeEnvirIfMasked);
 		form_layout->addRow (i18n ("Include environment for objects on the search path:"), completion_object_qualification_box);
 
-		auto completion_all_filetypes = settings->tabkey_invokes_completion.makeCheckbox(QString(), this);
+		auto completion_all_filetypes = settings->completion_all_filetypes.makeCheckbox(QString(), this);
 		form_layout->addRow(i18n("Offer completions in all file types (not just R scripts)"), completion_all_filetypes);
 	} else {
 		box_layout->addWidget(RKCommonFunctions::linkedWrappedLabel(i18n("<b>Note: </b>Additional (common) completion options are available at the <a href=\"rkward://settings/editor\">script editor settings</a>")));


More information about the rkward-tracker mailing list