mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-02 18:30:33 +02:00
* Fixed DeleteKey. Deleting the last key does not delete the section (Delphi/Windows compatible)
git-svn-id: trunk@18000 -
This commit is contained in:
parent
066a001afe
commit
840b158eb8
@ -925,7 +925,6 @@ begin
|
|||||||
begin
|
begin
|
||||||
oSection.KeyList.Delete(oSection.KeyList.IndexOf(oKey));
|
oSection.KeyList.Delete(oSection.KeyList.IndexOf(oKey));
|
||||||
oKey.Free;
|
oKey.Free;
|
||||||
MaybeDeleteSection(oSection);
|
|
||||||
MaybeUpdateFile;
|
MaybeUpdateFile;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user