Skip to content

Commit

Permalink
Merge pull request #2109 from dforsi/fix/settings-save
Browse files Browse the repository at this point in the history
Fix saving configurations after deleting some entries
  • Loading branch information
f4exb authored May 11, 2024
2 parents 7db3879 + 08c918f commit 75afe41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdrbase/settings/mainsettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
}
Expand Down

0 comments on commit 75afe41

Please sign in to comment.