Better PropertyManager string parsing, don't set empty props (Thanks to Michael Van Canneyt)

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3024 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
inoussa
2014-05-08 14:16:59 +00:00
parent ab38ec3c50
commit 8406f95b71

View File

@ -260,6 +260,7 @@ begin
Try
lst.QuoteChar := #0;
lst.Delimiter := PROP_LIST_DELIMITER;
lst.StrictDelimiter := True;
lst.DelimitedText := APropsStr;
for i := 0 to Pred(lst.Count) do
SetProperty(lst.Names[i],lst.Values[lst.Names[i]]);