Explorar o código

* Fixed DeleteKey. Deleting the last key does not delete the section (Delphi/Windows compatible)

git-svn-id: trunk@18000 -
michael %!s(int64=14) %!d(string=hai) anos
pai
achega
840b158eb8
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      packages/fcl-base/src/inifiles.pp

+ 0 - 1
packages/fcl-base/src/inifiles.pp

@@ -925,7 +925,6 @@ begin
       begin
       oSection.KeyList.Delete(oSection.KeyList.IndexOf(oKey));
       oKey.Free;
-      MaybeDeleteSection(oSection);
       MaybeUpdateFile;
       end;
     end;