mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-16 05:11:49 -05:00
Fix saving configurations after deleting some entries
This commit is contained in:
parent
7db387995e
commit
08c918f194
@ -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…
Reference in New Issue
Block a user