LCL-GTK2: Improve the earlier ListView speedup. Issue #40302, patch by wavebvg.

This commit is contained in:
Juha 2023-06-09 11:43:40 +03:00
parent 07398d821e
commit d8e3c3f75e

View File

@ -404,7 +404,6 @@ begin
if Widgets <> nil then
begin
Indices := gtk_tree_path_get_indices(path)^;
ChangeItemCache(Widgets, Indices, tvisSelected);
if path_is_currently_selected then
ChangeItemCache(Widgets, Indices, tvisSelected)
else