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

Fix saving configurations after deleting some entries
pull/2110/head
Edouard Griffiths 2024-05-12 00:48:44 +02:00 zatwierdzone przez GitHub
commit 75afe418c1
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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