mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-06-27 06:25:45 -04: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)
|
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]);
|
s.remove(groups[i]);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user