Cocoa: fix the issue that TListView.OnChange() not fired, issue #41151

This commit is contained in:
rich2014 2024-09-22 22:43:02 +08:00
parent 663c91f026
commit a814cbd968

View File

@ -713,9 +713,9 @@ begin
end;
if NOT selection.isEqualToIndexSet(self.selectedRowIndexes) then begin
self.selectRowIndexesByProgram( selection );
if Assigned(_processor) then
_processor.onSelectOneItem( self, selection );
self.selectRowIndexesByProgram( selection );
end;
selection.release;