mirror of https://gitlab.com/basile.b/dexed.git
save a sloc when adding messages
This commit is contained in:
parent
3944a2e0f2
commit
3a6e482650
|
@ -903,8 +903,7 @@ begin
|
||||||
fBtns[aCtxt].Click;
|
fBtns[aCtxt].Click;
|
||||||
if fastDisplay then
|
if fastDisplay then
|
||||||
IncLoopUpdate;
|
IncLoopUpdate;
|
||||||
item := List.Items.Add(nil, msg);
|
item := List.Items.AddObject(nil, msg, dt);
|
||||||
item.Data := dt;
|
|
||||||
item.ImageIndex := iconIndex(aKind);
|
item.ImageIndex := iconIndex(aKind);
|
||||||
item.SelectedIndex := item.ImageIndex;
|
item.SelectedIndex := item.ImageIndex;
|
||||||
if not fastDisplay then
|
if not fastDisplay then
|
||||||
|
|
Loading…
Reference in New Issue