* lvoEditLabel + formCompact = crash
git-svn-id: https://svn.code.sf.net/p/kolmck/code@111 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
This commit is contained in:
@ -7916,7 +7916,7 @@ begin
|
|||||||
if (lvoEditLabel in Options) and not Assigned( OnEndEditLVItem ) then
|
if (lvoEditLabel in Options) and not Assigned( OnEndEditLVItem ) then
|
||||||
begin
|
begin
|
||||||
(SL as TFormStringList).OnAdd := nil;
|
(SL as TFormStringList).OnAdd := nil;
|
||||||
SL.Add( Prefix + AName + '.OnEndEditLVItem := nil;' );
|
//dufa SL.Add( Prefix + AName + '.OnEndEditLVItem := nil;' );
|
||||||
if KF <> nil then
|
if KF <> nil then
|
||||||
(SL as TFormStringList).OnAdd := KF.DoFlushFormCompact;
|
(SL as TFormStringList).OnAdd := KF.DoFlushFormCompact;
|
||||||
end;
|
end;
|
||||||
|
Reference in New Issue
Block a user