mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-05 08:21:16 -05:00
Merge pull request #2109 from dforsi/fix/settings-save
Fix saving configurations after deleting some entries
This commit is contained in:
commit
75afe418c1
@ -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]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user