Skip to content

Instantly share code, notes, and snippets.

@juntalis
Created October 11, 2018 06:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juntalis/468cf9bc61d4477fcabb32fa71e3c5a8 to your computer and use it in GitHub Desktop.
Save juntalis/468cf9bc61d4477fcabb32fa71e3c5a8 to your computer and use it in GitHub Desktop.
Index: lcl/include/customlistview.inc
===================================================================
--- lcl/include/customlistview.inc (revision 57768)
+++ lcl/include/customlistview.inc (working copy)
@@ -1669,7 +1669,7 @@
finally
EndUpdate;
end;
- end else
+ end else if FSelected <> nil then
FSelected.Selected := False;
FSelected := nil;
Include(FFlags,lffSelectedValid);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment