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;
|
||||
if fastDisplay then
|
||||
IncLoopUpdate;
|
||||
item := List.Items.Add(nil, msg);
|
||||
item.Data := dt;
|
||||
item := List.Items.AddObject(nil, msg, dt);
|
||||
item.ImageIndex := iconIndex(aKind);
|
||||
item.SelectedIndex := item.ImageIndex;
|
||||
if not fastDisplay then
|
||||
|
|
Loading…
Reference in New Issue