mirror of https://gitlab.com/basile.b/dexed.git
fix, error in nix 32 version due to bugged lcl enumerator
This commit is contained in:
parent
700bcef6ad
commit
e680c3e3bc
|
@ -893,6 +893,8 @@ var
|
||||||
begin
|
begin
|
||||||
result := false;
|
result := false;
|
||||||
msgDt := PMessageData(item.Data);
|
msgDt := PMessageData(item.Data);
|
||||||
|
if (not assigned(msgDt)) then
|
||||||
|
exit;
|
||||||
if aCtxt = amcAll then
|
if aCtxt = amcAll then
|
||||||
result := true
|
result := true
|
||||||
else case msgDt^.ctxt of
|
else case msgDt^.ctxt of
|
||||||
|
@ -906,12 +908,14 @@ end;
|
||||||
procedure TCEMessagesWidget.filterMessages(aCtxt: TCEAppMessageCtxt);
|
procedure TCEMessagesWidget.filterMessages(aCtxt: TCEAppMessageCtxt);
|
||||||
var
|
var
|
||||||
itm: TTreeNode;
|
itm: TTreeNode;
|
||||||
|
i: integer;
|
||||||
begin
|
begin
|
||||||
if updating then
|
if updating then
|
||||||
exit;
|
exit;
|
||||||
List.BeginUpdate;
|
List.BeginUpdate;
|
||||||
for itm in List.Items do
|
for i := 0 to List.Items.Count-1 do
|
||||||
begin
|
begin
|
||||||
|
itm := List.Items.Item[i];
|
||||||
if not fFiltering then
|
if not fFiltering then
|
||||||
itm.Visible := itemShouldBeVisible(itm, aCtxt)
|
itm.Visible := itemShouldBeVisible(itm, aCtxt)
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue