From 08c918f194c12eaedf485080f4dcec49ff7ae94b Mon Sep 17 00:00:00 2001 From: Daniele Forsi Date: Sat, 11 May 2024 19:35:04 +0200 Subject: [PATCH] Fix saving configurations after deleting some entries --- sdrbase/settings/mainsettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdrbase/settings/mainsettings.cpp b/sdrbase/settings/mainsettings.cpp index 6ab7337ce..b2ea29bbc 100644 --- a/sdrbase/settings/mainsettings.cpp +++ b/sdrbase/settings/mainsettings.cpp @@ -183,7 +183,7 @@ void MainSettings::save() const for(int i = 0; i < groups.size(); ++i) { - if ((groups[i].startsWith("preset")) || (groups[i].startsWith("command"))) + if (groups[i] != "General") { s.remove(groups[i]); }