1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 09:18:54 -05:00

Fix saving configurations after deleting some entries

This commit is contained in:
Daniele Forsi 2024-05-11 19:35:04 +02:00
parent 7db387995e
commit 08c918f194

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