mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 14:01:49 +02:00
Cocoa: fix the issue that TListView.OnChange() not fired, issue #41151
This commit is contained in:
parent
663c91f026
commit
a814cbd968
@ -713,9 +713,9 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
if NOT selection.isEqualToIndexSet(self.selectedRowIndexes) then begin
|
if NOT selection.isEqualToIndexSet(self.selectedRowIndexes) then begin
|
||||||
|
self.selectRowIndexesByProgram( selection );
|
||||||
if Assigned(_processor) then
|
if Assigned(_processor) then
|
||||||
_processor.onSelectOneItem( self, selection );
|
_processor.onSelectOneItem( self, selection );
|
||||||
self.selectRowIndexesByProgram( selection );
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
selection.release;
|
selection.release;
|
||||||
|
Loading…
Reference in New Issue
Block a user