mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-02 01:30:46 +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
|
||||
oSection.KeyList.Delete(oSection.KeyList.IndexOf(oKey));
|
||||
oKey.Free;
|
||||
MaybeDeleteSection(oSection);
|
||||
MaybeUpdateFile;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user