mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-05 05:58:31 +02:00
Qt: do not send LM_CHANGED when TCheckListBox is invisible.
git-svn-id: trunk@29654 -
This commit is contained in:
parent
7b27013b93
commit
eec60401f7
@ -9423,11 +9423,12 @@ procedure TQtCheckListBox.signalItemChanged(item: QListWidgetItemH); cdecl;
|
||||
var
|
||||
Msg: TLMessage;
|
||||
begin
|
||||
if InUpdate or not GetVisible then
|
||||
exit;
|
||||
FillChar(Msg, SizeOf(Msg), #0);
|
||||
Msg.Msg := LM_CHANGED;
|
||||
Msg.WParam := QListWidget_row(QListWidgetH(Widget), Item);
|
||||
if not InUpdate then
|
||||
DeliverMessage(Msg);
|
||||
DeliverMessage(Msg);
|
||||
end;
|
||||
|
||||
{ TQtHeaderView }
|
||||
|
Loading…
Reference in New Issue
Block a user