You've already forked lazarus-ccr
* Partially revert 1063
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1067 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -923,7 +923,7 @@ type
|
||||
private
|
||||
FTree: TBaseVirtualTree;
|
||||
FFormatEtcArray: TFormatEtcArray;
|
||||
FCurrentIndex: LongWord;
|
||||
FCurrentIndex: Integer;
|
||||
public
|
||||
constructor Create(Tree: TBaseVirtualTree; AFormatEtcArray: TFormatEtcArray);
|
||||
|
||||
@ -21853,7 +21853,7 @@ begin
|
||||
if ([vsSelected, vsDisabled] * NewItems[I].States <> []) or
|
||||
(Constrained and (Cardinal(FLastSelectionLevel) <> GetNodeLevel(NewItems[I]))) or
|
||||
(SiblingConstrained and (FRangeAnchor.Parent <> NewItems[I].Parent)) then
|
||||
Inc(NewItems[I])
|
||||
Inc(PtrUInt(NewItems[I]))
|
||||
else
|
||||
Include(NewItems[I].States, vsSelected);
|
||||
end;
|
||||
@ -22239,7 +22239,7 @@ begin
|
||||
if FindNodeInSelection(Node, Index, -1, -1) then
|
||||
begin
|
||||
Exclude(Node.States, vsSelected);
|
||||
Inc(FSelection[Index]);
|
||||
Inc(PtrUInt(FSelection[Index]));
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Reference in New Issue
Block a user