diff --git a/lcl/propertystorage.pas b/lcl/propertystorage.pas index 16cdafb931..45ce9c029a 100644 --- a/lcl/propertystorage.pas +++ b/lcl/propertystorage.pas @@ -680,11 +680,13 @@ end; function TCustomPropertyStorage.ReadString(const Ident, DefaultValue: string): string; begin + StorageNeeded(True); Result := DoReadString(RootSection, Ident, DefaultValue); end; procedure TCustomPropertyStorage.WriteString(const Ident, Value: string); begin + StorageNeeded(False); DoWriteString(RootSection, Ident, Value); end;