1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 01:55:48 -05:00

Merge pull request #2109 from dforsi/fix/settings-save

Fix saving configurations after deleting some entries
This commit is contained in:
Edouard Griffiths 2024-05-12 00:48:44 +02:00 committed by GitHub
commit 75afe418c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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]);
}