[education/rkward] rkward/settings: Fix pluginmap saving

Thomas Friedrichsmeier null at kde.org
Mon May 9 19:41:06 BST 2022

Git commit 86b456c5c995f992df9543c58e277c8f22861849 by Thomas Friedrichsmeier.
Committed on 09/05/2022 at 18:40.
Pushed by tfry into branch 'master'.

Fix pluginmap saving

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


diff --git a/rkward/settings/rksettingsmoduleplugins.cpp b/rkward/settings/rksettingsmoduleplugins.cpp
index d6b2aee1..cda30bfa 100644
--- a/rkward/settings/rksettingsmoduleplugins.cpp
+++ b/rkward/settings/rksettingsmoduleplugins.cpp
@@ -142,7 +142,7 @@ void RKSettingsModulePlugins::RKPluginMapList::saveToConfig(KConfigGroup& cg) {
 	// NOTE: The group list is always sorted alphabetically, which is why we need to save a separate list setting for saving info on order.
 	cg.writeEntry("Pluginmap id order", ordered_ids);
 	// I'd like to store this implicitly as cg.groupList(), alas that doesn't seem to work (KF5 5.68.0)
-	cg.readEntry("All known plugin maps", kplugin_maps);
+	cg.writeEntry("All known plugin maps", kplugin_maps);
 void RKSettingsModulePlugins::RKPluginMapList::readFromConfig(KConfigGroup& cg) {

More information about the rkward-tracker mailing list